Creating a request to our Automation service was never easier!
...
Enter the My Automations tool.
Click on “New”.
...
Choose one of the Galooli automation templates or create your own from scratch.
...
Add/Edit the automation Name, Assets, CRON Timing (schedule plan), and activate the automation if needed. If you need to use a schedule plan other than what is offered by the system today, you can use one of the many tools available online toconvert CRON expressions to readable text format
.
The “+Add Fields” option can be utilized to add live or summary fields to the script if necessary or change existing fields.
The "+ Add Functions" option can be utilized to add some functions to the script if necessary.
Follow these steps before saving the automation:
Pay attention to the green highlight information that emphasizes the actions that will be taken by the automation.
When certain parts of the script need to be modified a unique key should be used. The It is recommended that the keys should be taken form the Galooli Pro Application >> choose the relevant field >> Forms Gate Infofrom the "+Add Fields" section.
Any relevant parameters, such as e-mail addresses, phone numbers, etc., should be entered.
...
7
8. Click on “Save”.
...
Automation Example
You choose an automation for "Stop generator when battery voltage is high”. You have now decided that you would like to change the automation condition to stop the generator when the grid is available instead of when the battery voltage is high.
...
To use the grid availability condition instead of the voltage condition, open the Galooli Pro application in a new tab >> locate the "Site global Grid available" field and select it >>click OK >> click on the three dots option >> Forms Gate Info >> copy the field key.
...
Return to the automation script and paste the key under the original condition of the script for documentation purposes. After that change the original key of the condition with the new key and save the changes.
...
Additional Automation Functions
...
Upload - An automation C# code can be uploaded as a text document by the user. The code will appear in the “Automation Log”
...
Download - It is possible for the user to download the code, mainly for the purpose of sharing it with others or modifying it and re-uploading it. If no code has been uploaded previously or has been written and saved from the “Automation Log”, the download button will not be available
...
Verify - An option to verify the executability of the code by compiling it. If the verification fails, the following message will appear:
...
Execute - In this case, the automation will be executed immediately, rather than according to a schedule. The main objective is to ensure that the code actually performs as expected
...
An example is presented below in which the user has selected the automation template "Active Alarms Notification". The user now prefers to change the default automation alert from "Rectifier 1 LVD Alarm" to "Site_Global.Generator_1_Fail_To_Start".
In the automation script locate the default field (row 10). Mark the field including the brackets and remove the field.
...
Click on the "+Add Fields" tab, locate the relevant field called "Site_Global.Generator_1_Fail_To_Start", and click on it. The new key will be added to the automation script as a result of this action.
...
Save the changes
...