Input code and insert a parameter
Procedure
- In the navigator, click .
- In the resource list, select the workflow that you want to work with. If no workflow exists, create a new workflow.
- In the Displays panel, click .
- Click the Workflow Editor tab.
- Double-click the step containing the activity you want to work with.
- Select the Code activity you want to insert a parameter in.Note:Parameters must already have been added to the Code activity.
- Click the plus sign in the Code activity.The script editor appears.
- In the script editor, enter the code for this activity.
- To insert a parameter within the code, click Insert Parameter. The Insert Parameter dialog box appears.
- Select a parameter, and then click OK.
- 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.
- Click Save.