IPP&E workflow handlers > Action handlers
IPP-set-next-approving-level-from-IPT
Description
This handler sets the Next Approving Level attribute on the functional work package revision. It also creates an array of approvers (one of whom approved the task) as the Estimation Approver attribute.
For each target object, it does the following:
- Checks if the target object is a WBS element revision.
- Checks if the value of the Next Approving Level attribute is set or not.
- If Next Approving Level is NULL, it gets the value of the IPT revision attached to the target WBS element revision with an Applicable IPT relation.
- If Next Approving Level is already set, it:
- Gets the IPT revision attached to the WBS root of the WBS element revision with the Applicable IPT relation.
- Configures the IPT revision obtained in the previous step.
- Gets all the parents (IPTs) of the Next Approving Level IPT set on the target WBS element revision.
- Iteratively gets the IPT lead user for each parent IPT revision.
- Sets the Next Approving Level as any parent IPT revision whose IPT lead user is same as the current session user.
Syntax
IPP-set-next-approving-level-from-IPT
Arguments
-include_type The object type whose property will be set.
-property The property whose value will be set.
Placement
Requires no specific placement.
Restrictions
None.
Note
A WBS work package is identified based on the Work Package check box on the WBS element revision.