Replace a segment requirement
You can create expressions or bind properties for many of these properties, depending on your workflow requirements.
About this task
Note: When you replace a segment requirement, the entire hierarchy of the existing segment requirement is deleted and a new segment requirement with its associated hierarchy, if any, is created.
Activities can be inserted at both the workflow and subprocess levels.
Procedure
- In the navigator, click .
- In the Workflows list, select the resource you want to work with
- 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.
- Click ReplaceSegmentRequirement, and then click Finish.The input parameters appear in the activity configuration panel.
- Optional: In the Name field, enter a name for the segment requirement, or bind a property or parameter to the method.If unspecified, the new segment requirement will have the same name as the segment it replaces.
- Optional: In the Order field, enter an execution order for the segment requirement, or bind a property or parameter to the method.If unspecified, the new segment requirement will have the same order as the segment it replaces.
- In the Requirement ID field, enter the ID of the segment requirement that will be deleted.A new segment requirement will replace it at the same place in the hierarchy.
- In the Work Definition Segment field, click the ellipsis button, and then select a work definition segment.The segment requirement uses this definition to define properties and hierarchy.
- Click Save.
- Run the workflow, or, on the Test/Debug tab, test the workflow to ensure that your input parameters are configured correctly.