Trigger loop package
- Updated: 2023/07/15
Trigger loop package
The Trigger loop package enables you to run a series of actions when a trigger event occurs. You can insert multiple trigger loops within a bot or nest one trigger loop within another trigger loop.
Actions in the Trigger loop package
Action | Description |
---|---|
Trigger loop | Opens the loop to run a series of actions when a
trigger event occurs. Note: Events within the Trigger loop
follow a sequential order and any parallel events that occur
during this time are queued.
|
Handle | Specifies the trigger event and runs the actions
that are inside the container when that event occurs. Drag the Handle action into the Trigger loop (in Flow view) or below the Trigger loop (in List view). |
Break | Terminates the trigger loop for bot to continue
with other actions in the trigger event. If there is
no Break
action after a trigger loop handle, the bot will go back to the start of the trigger loop and
wait for the next configured action. So ensure you
add the Break
action to exit the trigger loop and move on to next
action or else the bot will run
indefinitely. For example, the Break
action in a bot can be used when the
user must close or cancel a form. Drag the Break action into the trigger handle container. |
Triggers in the Handle action
Triggers | Description | Options |
---|---|---|
Email Trigger | Triggers that starts the bot when an email is sent or received. | Using Email Trigger in Trigger loop Handle |
File Trigger | Triggers on a file event. | Using File Trigger in Trigger loop Handle |
Folder Trigger | Triggers on a folder event. | Using Folder Trigger in Trigger loop Handle |
Hot key Trigger | Triggers on a key press event. |
Using Hot key Trigger in Trigger loop Handle |
Form Trigger | Trigger on form
element events.
Interactive forms
Note: If an active form is
terminated using the Close
button from the task bar, it will not terminate the associated bot
containing Trigger loop and
Interactive forms
packages. |
Using Form Trigger in Trigger loop Handle |
Object Trigger | Trigger for the bot to start when
the Select main event takes place on the trigger interface element. (Users
click a button) Note: Interface triggers for objects are available
only for native Windows applications.
|
Using Object Trigger in Trigger loop Handle |
Microsoft 365 Outlook Email Trigger | Trigger that starts the bot when an email is received by connecting to the Microsoft 365 Outlook server with OAuth2 authentication. | Using Microsoft 365 Outlook trigger in Trigger loop: Handle |
Process Trigger | Trigger that starts the bot on a process event. | Use Process Trigger in Trigger loop Handle |
Service Trigger | Trigger that starts the bot when service start, stop, pause, and resume. | Using Service Trigger in Trigger loop Handle |
ServiceNow New Record Trigger | New record trigger for ServiceNow . | Using ServiceNow New Record Trigger in Trigger loop Handle |
ServiceNow Updated Record Trigger | Update record trigger for ServiceNow . | Using ServiceNow Updated Record Trigger in Trigger loop Handle |
Window Trigger | Trigger that starts the bot based on window actions. | Using Window Trigger in Trigger loop Handle |