Write work data for a work segment response using a workflow
You can create expressions or bind properties for many of these properties, depending on your workflow requirements.
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.
- Insert an activity:
- At the workflow level:
- From the Standard Activities panel, click and drag the activity you want to insert to a drop point.Note: Activities can exist only between the presubprocess and postsubprocess.
- From the Standard Activities panel, click and drag the activity you want to insert to a drop point.
- At the subprocess level:
- Double-click the local subprocess you want to add the activity to.
- From the Standard Activities panel, click and drag the activity you want to insert to a drop point.
- At the workflow level:
- On the activity configuration panel, click Configure Method. The Configure Method dialog box appears, displaying a list of the available call method service providers.
- Double-click IProductionRuntime to display the list of available call methods.Note: If you selected the Required Class check box on the Work Data tab of the associated work process segment, then go to step 8. If not, go to step 9.
- Click AddWorkDataClassToResponse, and then click OK.
- Click WriteWorkData.
- Click Save.
- Run the workflow, or, on the Test/Debug tab, test the workflow to ensure that your input parameters are configured correctly.