Use the Confirm component
Set a confirmation message that is shown in a dialog box requiring user inputs by using the Confirm component in the RPA Desktop Design Studio.
Before you begin
Role required: none
About this task
The Confirm component is used as part of an Attended Robot automation. Use this component to request a confirmation from the user as a response to a user action. For example, request user inputs on whether the user wants to save a file.
To configure the properties, see Properties of Confirm components.
Procedure
In the Toolbox pane, navigate to General > MessageBox.
Drag the Confirm component to the Design surface.
To provide inputs to the parameters, see Configure port properties.
Connect the data and control ports of the Confirm component to the corresponding ports of the other components as described in the following table.
| Port type | Port name | Data type | Purpose of connection | Default value | Mandatory? |
|---|---|---|---|---|---|
| Data in | Message | String | Takes the confirmation message from another component. | No default value | Yes |
| Data out | Return | Boolean | Returns the Boolean value based on the user input.If True, the user has clicked Ok. Else, if False, the user has clicked False. | Not applicable | Not applicable |
- To test the component, right-click the component bar and click Run From Here.
Parent Topic:General