Schedule operations
This category contains operations allowing a user to control the bot’s schedules. Deployed schedules and events are managed by the bot and synchronized with third-party calendars, for example Microsoft Office 365, when they are connected
Connect schedule
Creates and deploys a new schedule to the bot scheduler. This operation has the following properties.
| Property name | Type | Description |
| Description | String | Displayed name of the operation. This property is only used in the HMI and has no effect at run-time. |
| Schedule name | String | Unique name of the schedule to deploy. This property supports usage of internal bot variables. |
| Overwrite file | Boolean | If a schedule with the same name already exists, this parameter specifies the action. True to dismiss the existing schedule before deploying a new one. False to leave the existing Schedule and do nothing. |
Disconnect schedule
Dismiss the Schedule with the given name from the bot scheduler. This operation has the following properties.
| Property name | Type | Description |
| Description | String | Displayed name of the operation. This property is only used in the HMI and has no effect at run-time. |
| Schedule name | String | Unique name of the schedule to dismiss. This property supports usage of internal bot variables. |
Deploy event
Deploy an event to the given Schedule. This operation has large number of properties displayed in a number of tabs in the configuration dialog.
In the General tab.
| Property name | Type | Description |
| Schedule name | String | Unique name of the event to deploy. This property supports usage of internal bot variables. |
| Name | String | A unique identifier of the event. If the field is empty the identifier will be generated automatically. Otherwise, if the event with the same name exists, it will be replaced. |
| Summary | String | Summary of the event. This property supports the usage of internal bot variables. |
| Location | String | This property is not related to geolocation zones. This property supports the usage of internal bot variables. |
| Description | String | Description of the event. This property supports the usage of internal bot variables. |
| Status bit variable | String | The name of a remote but variable. The bit will be set to 1 when the event is started and 0 when it is stopped. If at startup, the event was already started (the start date is passed) and not yet finished (the end date is later in future), the variable will still be set to 1. |
In the Entry Action tab.
| Property name | Type | Description |
| Call procedure when event is triggered | Boolean | Specifies whether to deploy a smart bot procedure when the Event starts. |
| Chat name | String | Name of the chat in which the smart bot will be added. |
| Branch | String | Branch name applied to all SCADA variables in bot’s operation and conditions. This property supports usage of internal bot variables. |
| Bot path | String | Path to the Smart Bot blueprint file to be executed. This property supports usage of internal bot variables. The specified path is relative to the following directory: <projectFolder>\MsgData\Bots. |
| Parameters list | Set | List of internal variables and corresponding values that will be predefined in the executed Smart Bot. Both variable name and value properties support usage of internal bot variables. |
| At the end of the event | Enum |
Specifies an action to perform when event is finished or removed. The following values are available.
|
In the Exit Action tab.
| Property name | Type | Description |
| Call procedure when event is finished | Boolean | Specifies whether to deploy a smart bot procedure when the Event starts. |
| Chat name | String | Name of the chat in which the smart bot will be added. |
| Branch | String | Branch name applied to all SCADA variables in bot’s operation and conditions. This property supports usage of internal bot variables. |
| Bot path | String | Path to the Smart Bot blueprint file to be executed. This property supports usage of internal bot variables. The specified path is relative to the following directory: <projectFolder>\MsgData\Bots. |
| Parameters list | Set | List of internal variables and corresponding values that will be predefined in the executed Smart Bot. Both variable name and value properties support usage of internal bot variables. |
In the Chat tab.
| Property name | Type | Description |
| Create or modify chat if necessary | Boolean | Specifies whether the chat with the given name should be created / modified or not. When the event starts, the bot searches for the chat with the given name. If True and the chat was not found, a new chat will be created. If True and the chat was found, it will be modified. If False and entry or exit actions are specified, the corresponding SmartBot procedures will still be invited to the chat. |
| Chat name | String | Name of the Chat in which the Entry or Exit Smart Bots procedures will be added. Use combo box to select the existing chats. This property supports usage of internal bot variables. |
| Associate Chat to a zone | String | Name of the zone associated to the given chat. This property is used only if the chat is created or modified. This property supports usage of internal bot variables. |
| Chat color | String | HEX code of the color to apply. This property is used only if the chat is created or modified. This property supports usage of internal bot variables. |
| Attendees Set | List of event attendees | If the existing Chat is selected, this list is pre-filled with all the chat users. Both the user name and email properties support usage of internal bot variables. |
In the Trigger tab.
| Property name | Type | Description |
| Trigger event | Enum |
Specifies triggers starting and finishing the event. The following values are available.
|
| Start date | String | Date and time when the event has to be started. This property supports usage of internal bot variables. This property supports the local date and time format defined by the selected culture in the bot manager preferences. This property is only available for “At the given date and time” trigger. |
| End date | String | Date and Time when the event has to be finished. This property supports usage of internal bot variables. This property supports the local date and time format defined by the selected culture in the bot manager preferences. This property is only available for “During specified period” trigger. |
| Duration | String | Duration of the event. Text near the value is reformatted automatically after validating the input. This property supports usage of internal bot variables. This property is only available for “Once deployed” and “At the given date and time” triggers. |
| Frequency | Enum |
Specifies how often the recurrent event should occur. The following values are available.
|
| Interval | Int | Specifies how often the recurrent event should occur. E.g. if the Frequency is set to “Secondly” and Interval is 5, then the event will occur every 5 seconds. This property is used only for recurrent events. This property supports usage of internal bot variables. |
| End date | String | Specifies when to finish the event or when to stop the event’s recurrence. This property is used only for recurrent events or events with the “During specified period” trigger. This property supports the local date and time format defined by the selected culture in the bot manager preferences. This property supports usage of internal bot variables. |
| Recur on | Set | Specifies days of week on which the Event should occur. This property is used only for “Weekly” event frequency. |
Dismiss event
Dismiss event from the schedule with the given name. This operation has the following properties.
| Property name | Type | Description |
| Description | String | Displayed name of the operation. This property is only used in the HMI and has no effect at run-time. |
| Schedule name | String | Unique name of the schedule with the event to dismiss. This property supports usage of internal bot variables. |
| Name | String | Unique name of the event to dismiss. |
Find event
Applies the specified filter on the list of events and saves the selected event object in the bot agent’s memory. This operation has the following properties.
| Property name | Type | Description |
| Description | String | Displayed name of the operation. This property is only used in the HMI and has no effect at run-time. |
| Key | String | Unique reference to the found event object in memory. This property supports usage of internal bot variables. |
| Scope | Enum |
Accessibility scope of event object in memory specified by the “Key” reference. The following values are available.
|
| Index | Integer | 1-based index of the user in the list of selected events, i.e. corresponding to the specified filters. This property supports usage of internal bot variables. |
| Schedule names | String | Names of the deployed schedules, in which the event should be searched. Multiple ranges are separated with commas. This property supports wildcard symbols. “?” is a replacement for any single character. “*” is a replacement for any amount of characters. This property supports usage of internal bot variables. |
| Filter by attendees | String | Selects only events with the specified attendees. If the field is empty, corresponding filter is not applied. |
| Filter by name | String | Filter events by the unique name of the event. |
| Filter by summary | Function |
A function that will be applied to compare the actual event summary and the value of the summary property. The following functions are available.
|
| Summary | String | Text or Regular expression verified using the “Filter by summary” function. This property supports usage of internal bot variables. |
| Filter by location | Function |
A function that will be applied to compare the actual event location and the value of the location property. The following functions are available.
|
| Location | String | Text or Regular expression verified using the “Filter by location” function. This property supports usage of internal bot variables. |
| Filter events creating a chat | Enum | Filter events creating or modifying a chat. |
| Filter by chat name | Function |
A function that will be applied to compare the actual event chat and the value of the Chat name property. The following functions are available.
|
| Chat name | String | Text or Regular expression verified using the “Filter by chat name” function. This property supports usage of internal bot variables. |
| Filter events by entry procedure | Enum | Filter events having entry action specified. |
| Filter by entry bot name | Function |
A function that will be applied to compare the actual event entry bot name and the value of the entry bot name property. The following functions are available.
|
| Entry bot name | String | Text or Regular expression verified using the “Filter by Entry bot name” function. This property supports usage of internal bot variables. |
| Filter events by exit procedure | Enum | Filter events having exit action specified. |
| Filter by exit bot name | Function |
A function that will be applied to compare the actual event exit bot name and the value of the exit bot name property. The following functions are available.
|
| Exit Bot name | String | Text or Regular expression verified using the “Filter by Exit bot name” function. This property supports usage of internal bot variables. |
| Start date | String | Beginning of the time period in which to search for an event. This property supports usage of internal bot variables. This property supports the local date and time format defined by the selected culture in the bot manager preferences. |
| End date | String | End of the time period in which to search for an event. This property supports usage of internal bot variables. This property supports the local date and time format defined by the selected culture in the bot manager preferences. |
Find the right time for a user
Applies the specified filter on the list of users, searches a free time slot in the specified schedules for a first available user in the list and saves the selected schedule name, user name and selected date in bot agent’s memory. This operation has the following properties.
| Property name | Type | Description |
| Description | String | Displayed name of the operation. This property is only used in the HMI and has no effect at run-time. |
| Key for result date | String |
Unique reference to the value in memory. This property supports usage of internal bot variables. Date and time object for the selected time slot satisfying the given filter is written to the corresponding variable. |
| Key for result user | String |
Unique reference to the value in memory. This property supports usage of internal bot variables. Available user for the selected time slot satisfying the given filter is written to the corresponding variable. |
| Key for result schedule | String |
Unique reference to the value in memory. This property supports usage of internal bot variables. Schedule name for the selected time slot satisfying the given filter is written to the corresponding variable. |
| Scope | Enum |
Accessibility scope of value in memory specified by the “Key for result date”, “Key for result user” and “Key for result schedule” references. The following values are available.
|
| Index | Integer | 1-based index of the time slot and a user in the list of selected options, i.e. corresponding to the specified filters. This property supports usage of internal bot variables. |
| Schedule names | String |
Names of the deployed schedules, in which the events should be verified. Multiple ranges are separated with commas. This property supports Wildcard symbols. “?” is a replacement for any single character. “*” is a replacement for any amount of characters. This property supports usage of internal bot variables.
|
| Users | String | Verifies only events with the specified attendees. Multiple user names are separated with commas. If the field is empty, corresponding filter is not applied. This property supports usage of internal bot variables. |
| Duration | String | Duration of the time slot to fit into the planning. Text near the value is reformatted automatically after validating the input. This property supports usage of internal bot variables. |
| Start date | String | Beginning of the time period in which to search for a free time slot. This property supports usage of internal bot variables. This property supports the local date and time format defined by the selected culture in the bot manager preferences. |
| End date | String | End of the time period in which to search for a free time slot. This property supports usage of internal bot variables. This property supports the local date and time format defined by the selected culture in the bot manager preferences. |