Use the Expression component
Perform mathematical and logical operations with various operands and operators using the Expression component in RPA Desktop Design Studio. The Expression component supports multiple operators and functions for you to use.
始める前に
Role required: none
このタスクについて
- Primary
- Unary
- Power
- Multiplicative
- Additive
- Relational
- Logical
The Expression component supports multiple functions. See Supported functions for the Expression components.
| Property | Description |
|---|---|
| Delay After Execution | The number of seconds to pause after running. |
| Delay Before Execution | The number of seconds to pause before running. |
| Enable Timeout | Option to set a timeout value. |
| Timeout | Number of seconds that the operation ends after if not completed. To apply this value, you must set the Enable Timeout property. |
手順
Expression component performs a mathematical operation between two operands
In the example, the Variable component passes the integer values for the two operands "i" and "j" set in the Expression component. The Expression component takes the values and finds whether the value of i>=j. The result is passed to the Decision component. The Decision component passes the result to the Show component. In the example, since the value of "i" is lesser than "j", the Show component shows "False" in a message box.