IPP&E workflow handlers > Rule handlers
IPP-validate-next-approving-authority-for-wbs-elem
Description
This handler validates if the current session user is a valid approving authority for the target WBS element revision as follows:
- Checks if the target object is a WBS element revision.
- Checks if the next approving level is set, then gets the IPT lead user for the next approving level.
- If the next approving level is already set, gets the IPT root.
- Finds the last approved user set on the estimation approvers property of the target WBS revision.
- Configures the IPT root with the Latest Working revision rule.
- Find all the parents of the IPT on the target WBS element from the configured IPT root node.
- Configures the IPT revision.
- Gets the IPT lead user for the parent IPT.
- Checks if the session user is the same as the IPT lead user for the parent IPT.
- If step 9 is not satisfied, that is, none of the parent IPTs has the current session user as its IPT Lead user, the current session user is not the correct authority for approving the WBS element revision.
Syntax
IPP-validate-next-approving-authority-for-wbs-elem
Arguments
-project_phase Determines the target type. If the value is Estimation, the target type is WBS work package revision. If the value is Execution, the target type is External Task Info.
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.