Input code and insert a parameter

Procedure

  1. In the navigator, click Workflow > Workflows.
  2. In the resource list, select the workflow that you want to work with. If no workflow exists, create a new workflow.
  3. In the Displays panel, click Workflow Management > Workflow Editor.
  4. Click the Workflow Editor tab.
  5. Double-click the step containing the activity you want to work with.
  6. Select the Code activity you want to insert a parameter in.
    Note: Parameters must already have been added to the Code activity.
  7. Click the plus sign in the Code activity.
    The script editor appears.
  8. In the script editor, enter the code for this activity.
  9. To insert a parameter within the code, click Insert Parameter. The Insert Parameter dialog box appears.
    • Select a parameter, and then click OK.
  10. To validate the code, click Validate.
    Tip: If the code is invalid, the activity is shaded red, and a red exclamation mark appears, indicating which lines contain errors. If the Code activity is not red, then it is valid.
  11. Click Save.