|
Prompt User Action |
Description
|
Loop dialog |
|
Parameters
Message Text
The Message that will be displayed when the prompt is displayed. For example: "do you want to continue this task"?Style
Specifies the buttons that will appear on the prompt dialog.On OK
Specifies what to do when the user presses the OK button at the time of the prompt. Options are:Start
Starts the named taskStop Task
Stops the current taskContinue
Continues the current taskFail task if Cancel
When enabled, the prompt action will fail the task if the user presses the Cancel button at runtime during the steps execution.Fail task if No
When enabled, the prompt action will fail the task if the user presses the No button at runtime during the steps execution.
Notes
To setup the step, type in the text you wish to appear in the dialog box. Select which buttons you wish to be available by clicking an option in the Styles section.
The On OK area sets up how the task will behave if the user clicks the Yes or OK button when the dialog appears during task execution. If Start is selected, AutoMateā¢ will stop the currently executing task and begin the task specified in the box to the right. If Stop Task is selected, AutoMateā¢ will stop the current task with a message in the Log File stating that the task has ended programmatically. (This is different than a task failing, which is written to the Log File as an error.) If Continue is selected, the task proceeds from that point normally.
The Fail on Cancel and Fail On No checkboxes indicate whether or not the task should fail if the user selects the Cancel and/or No buttons (depending on which are available).
Related Topics: