Creating workflow conditions

Create workflow conditions to use gateways in your workflow process.

Procedure

  1. Right-click in the connector that links the display_hello_world item to the hello_world_message item.
  2. Click the Edit condition option.
  3. In the Left operand parameter, select the ${helloWorldType} variable.
  4. In the Operator parameter, select the Contains option.
  5. In the Right operand parameter, type "1".
  6. Click the Save button.
  7. Right-click in the connector that links the display_hello_world item to the hello_world_file item.
  8. Click the Edit condition option.
  9. In the Left operand parameter, select the ${helloWorldType} variable.
  10. In the Operator parameter, select the Contains option.
  11. In the Right operand parameter, type "2".
  12. Click the Save button.

Save the workflow file on your computer with the name "exampleWorkflow".