IPP&E workflow handlers > Action handlers
IPP-add-successor-wbs-work-element
Description
This handler attaches a successor WBS element revision to a target WBS element revision with a Psi0PredecessorWorkElement relation. The predecessor must have the execution state specified in the predecessor_execution_state argument.
It ignores successors with the same execution state as the disallowed_execution_state argument value.
If these conditions are satisfied, it attaches the successor WBS element as the target.
Syntax
IPP-add-successor-wbs-work-element
Arguments
-predecessor_execution_state Specifies the allowed execution state of the predecessor WBS work package.
-attachment The attachment folder under which the successor WBS work packages will be copied. The predecessors of these WBS work packages should be released.
-disallowed_execution_state Specifies the disallowed execution state of the successor WBS work packages.
Placement
Requires no specific placement.
Restrictions
None.
Examples
| Argument | Value |
|---|---|
| -predecessor_execution_state | Created |
| -attachment | target |
| -disallowed_execution_state | Completed |
In this example, the handler will find the successor work packages which do not have the execution state as Completed and all of its predecessor work packages with the execution state as Created. It will then add these successor work packages to the target attachment of the workflow.
Note
A WBS work package is identified based on the Work Package check box on the WBS element revision.