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

  1. In the navigator, click Workflow > Workflows.
  2. In the Workflows list, select the resource you want to work with
  3. In the Displays panel, click Workflow Management > Workflow Editor.
  4. Click the Workflow Editor tab.
  5. 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.
    • 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.
  6. On the activity configuration panel, click Configure Method.
    The Configure Method dialog box appears, displaying a list of the available call method service providers.
  7. Double-click IProductionRuntime to display the list of available call methods.
  8. Click ReplaceSegmentRequirement, and then click Finish.
    The input parameters appear in the activity configuration panel.
  9. 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.
  10. 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.
  11. 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.
  12. 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.
  13. Click Save.
  14. Run the workflow, or, on the Test/Debug tab, test the workflow to ensure that your input parameters are configured correctly.