Add an Expression activity

Use the Expression activity to perform basic functions on data.

Procedure

  1. On the Workflow tab, select below the RPA node or any other node.

    By default, a Start node and an RPA node are added in the Designer area.

    The Add activity dialog box is displayed.

  2. On the Type list, select Expression. (Default: Task)
  3. By default, "Expression" appears as the Title. You can change the title as needed.
  4. Specify a State to apply when the task becomes available or is pending.
  5. Select Add.
  6. On the properties panel, select for Expressions to add an expression.

    The Expression dialog box is displayed.

  7. On the Target variable list, select a process or server variable. If the required variable is not available, you can create a new variable. See Create variables.
  8. Optional. Enter a Description for the expression node.
  9. Right-click on the rule editor and define an Expression using the Process variables, Server variables, and/or functions (Math, Text, and Date) as needed. Add as many expressions as needed. For more information, refer to "Configure an Expression activity" in the TotalAgility Advanced Studio Help.
  10. To validate the expression, select Validate.

    A message appears if the rule expression is not valid. Select OK to close the message, correct the expression, and validate again.

  11. Optional. To ensure the results and format are as expected, select Test.

    The Test expression dialog box displays the variable values.

    The Test option is not available in on-premise multi-tenant and Azure environments.

  12. Select Execute test.
    The expression is executed, and the test result is displayed. You can change the variable values and retest the expression if needed.

    Select Cancel if you do not want to test the expression.

  13. Select Add.
  14. Save or release the process map.