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. Utilizar o Gatilho de e-mail no Gerenciamento de loop de gatilho
File Trigger Triggers on a file event. Utilizar o Acionador de arquivo no Gerenciamento de loop de acionador
Folder Trigger Triggers on a folder event. Utilizar o Acionador de pasta no Gerenciamento de loop de acionador
Hot key Trigger

Triggers on a key press event.

Utilizar o Acionador de tecla de atalho no Gerenciamento de loop de acionador
Form Trigger Trigger on form element events.
Formulários interativos
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.
Utilizar o Acionador de formulário no Gerenciamento de loop de acionador
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.
Uso do gatilho de objeto no Identificador de Loop do Gatilho
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. Como usar o gatilho do Microsoft 365 Outlook no loop do gatilho: Gerenciar
Process Trigger Trigger that starts the bot on a process event. Use o gatilho do processo no identificador de loop do gatilho
Service Trigger Trigger that starts the bot when service start, stop, pause, and resume. Uso do gatilho de serviço no Identificador de Loop do Gatilho
ServiceNow New Record Trigger New record trigger for ServiceNow . Como usar o Gatilho de novo registro do ServiceNow no identificador de loop do gatilho
ServiceNow Updated Record Trigger Update record trigger for ServiceNow . Utilizar o Acionador de registro atualizado do ServiceNow no Gerenciamento de loop de acionador
Window Trigger Trigger that starts the bot based on window actions. Como usar o gatilho de janela no identificador de loop de gatilho