Trigger Choice Step

This step is a part of the Attended Automation functionality. This step helps you select a trigger and insert action steps launched by the trigger. Insert one or more action steps that are executed when the trigger event is intercepted by the Trigger Choice step.

When you create a robot in Design Studio and insert the Trigger Choice step, you must be able to access the mapped device to actually perform the action that triggers the event. Create Device Mapping that helps you connect to Automation Devices directly and select Single User in the Device Automation Service configuration. Before deploying the robot to the Management Console, open the Device Automation Service configuration on the remote device, clear the Single User option and specify the Management Console where the robot is deployed.

When a triggered event is detected, the robot takes over the automated device and might prevent the user from using the mouse and keyboard. To inform the user of the action performed by the robot, use the Notify Step.

Trigger tips and tricks
  • You can insert the Trigger Choice step by right-clicking the Automation Device view tab and selecting Trigger on the menu.
  • You can insert the Component Click event of the Trigger Choice step by right-clicking an element in the Automation Device view and selecting Trigger on the menu.
  • You can use only one trigger in a robot.
  • A trigger cannot be used in Snippets.
  • You cannot create triggers inside triggers.

The following trigger events are available.

Trigger

Application Opened
The robot executes selected actions when a specified application opens. Specify the trigger name and the application that triggers the action.
Application Closed
The robot executes selected actions when a specified application closes. Specify the trigger name and the application that triggers the action.
Component Clicked
The robot executes selected actions when a specified component is clicked. Specify the trigger name, the application that triggers the action, and the component within the application. Also, select a mouse button that clicks the component.
Hot Key Pressed
The robot executes selected actions when a specified key or key combination is pressed. Specify the trigger Name, and select the Key from the list. Also, select from the three standard key modifiers, such as Shift, Ctrl, Alt.