While automating business processes sometimes we might want to display specific information on the screen.
The most common activity we prefer to do the above is “Message Box”
(Here is user will be required to click “ok” to proceed further)
Is there any similar activity which can be used to do the same?
Yes, it’s “Callout” activity and here the user is not required to click “ok”
(It doesn’t expect any human input)
let’s see how to do that…!!!
Example
Implementation using UiPath :
Let us implement a workflow to calculate Addition,Subtraction,Multiplication or Division of two values based on the user selection and display the result using “Callout” Activity.
Step 1:
Drag “Input Dialogue” activities into the designer panel and store the user provided inputs like value1, value2 and type of operation(Addition,Subtraction,Multiplication or Division)
Step 2:
Drag “Start Process” activity into the designer panel and pass the “Calculator App Path” to it, to open the calculator.
Path: “C:\Windows\System32\calc.exe”
Step 3:
Drag “Click” activities into the designer panel and pass the appropriate values to the selectors to select the value1,value2 and Type of operation on calculator app and finally click on Equals to symbol on calculator.
Step 4:
Drag “Get Atribute” activity to retrieve the result from the calculator as show below.
Step 5:
Drag “Replace” activity and pass the required arguments to fetch only the digits from the above obtained result.
Here using regular expressions, we are replacing the all non-digits characters with a empty string.
Step 6:
Drag “Callout” activity to display the final output on the screen, set the required properties as shown below.
Don’t forget to set the “Timer” property of it which decides the message lifespan
Step 7:
Finally, execute the workflow to display the result 🙂
Click here to download the Source Code…
Hope it has helped you…