Use completion codes in an expression

Before you begin

Note: Completion codes must already have been added to the Completion Codes folder.

Procedure

  1. In the navigator, click Workflow.
  2. In the Folders list, select a resource type, such as Workflows, Subprocesses, Schedules, User Activities, Categories, Completion Codes, Faults, or Filters.
  3. In the resource type list, select a resource.
  4. In the Displays panel, click Workflow Management > Workflow Editor.
  5. To access activities, double-click the step you want to work with.
  6. Select or insert an If/Else or While activity.
  7. On the activity configuration panel, click Edit Condition.
    The Expression Editor appears.
  8. Click the Workflow Variables tab, and then click the Subprocess tab.
  9. To create an expression in the Enter Expression field:
    1. From the Properties list, double-click Completion Code.
    2. Insert an operator.
      Note: You can only use the equality (==) and inequality (!=) operators with completion code properties and values.
    3. Click the Completion Codes tab, and select a completion code to complete your expression.
  10. To verify your expression:
    1. Click Check Syntax.
    2. Click Test.
    3. Click Evaluate.
    4. Click Close.
    5. Click OK.
  11. click Save.