Start of Content Area

Procedure documentation Enhancing a Workflow with an Ad Hoc Anchor  Locate the document in its SAP Library structure

Use

You can extend a workflow at runtime by adding steps of the type ad hoc anchor when defining your workflow definition.

At runtime, a user who is authorized to call the graphical workflow log of the workflow can replace the ad hoc anchor steps with one of the workflows added. The executed workflow is thus extended by the steps of the selected workflow definition.

Procedure

At definition time

  1. Create an ad hoc anchor at the point in your workflow definition where the user can extend the definition at runtime.
  2. Enter the workflows in the ad hoc anchor that could potentially be executed instead of the ad hoc anchor. For more information, see Maintaining an Ad Hoc Anchor.

At runtime

  1. Go to the graphical workflow log of the workflow that you want to extend.
  2. You can only carry out an extension if the execution of the workflow has not yet reached the ad hoc anchor step.
  3. Select the ad hoc anchor that you want to replace with an added workflow, and choose This graphic is explained in the accompanying text.
  4. The Choose Task dialog box appears.

  5. Select a workflow by double-clicking.

The ad hoc anchor is replaced by the steps of the inserted workflow.

End of Content Area