Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
titleApproval by approver
<role oid="0851dd7a-30fc-11e8-88fe-3796232f0574">
        <name>meta-role-policy-assignment-approval-role-approver</name>
        <subType>policy</subType>
        <displayName>Assignment approval by any role approver</displayName>
        <!-- assignment of this metarole to the appropriate org would probably be here -->
        <inducement>
            <policyRule>
                <policyConstraints>
                    <assignment>
                        <operation>add</operation>
                    </assignment>
                </policyConstraints>
                <policyActions>
                    <approval>
                        <compositionStrategy>
                            <order>200</order>
                        </compositionStrategy>
                        <approvalSchema>
                            <level>
                                <name>Role approver</name>
                                <approverRelation>approver</approverRelation>
                                <evaluationStrategy>firstDecides</evaluationStrategy>
                                <outcomeIfNoApprovers>reject</outcomeIfNoApprovers>
                            </level>
                        </approvalSchema>
                    </approval>
                </policyActions>
            </policyRule>
        </inducement>
</role>

 The policy rule above will drive the role through an approval of a role approver. Role approver is determined by examining all the users that have this role assigned with a special-purpose approver relation. Please see the description of the approval mechanism for more details.

See Also