Enhancing Workflows with Ad Hoc Anchors
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
-
Create an ad hoc anchor at the point in your workflow definition where the user can extend the definition at runtime.
-
Enter the workflows in the ad hoc anchor that could potentially be executed instead of the ad hoc anchor. For more information, see Maintaining Ad Hoc Anchors.
At runtime
-
Go to the graphical workflow log of the workflow that you want to extend. You can only carry out an extension if the execution of the workflow has not yet reached the ad hoc anchor step.
-
Select the ad hoc anchor that you want to replace with an added workflow, and choose
.The Choose Task dialog box appears.
-
Select a workflow by double-clicking.
The ad hoc anchor is replaced by the steps of the inserted workflow.