Page tree
Skip to end of metadata
Go to start of metadata

Besides legacy approval configuration (described in a separate document), midPoint 3.5 provides much more flexible approach to configuring approvals: the policy rule-based configuration.

Policy rules are triplets containg the following:

midPoint configuration file

 

The configuration looks like this:

  <workflowConfiguration>
    <modelHookEnabled>true</modelHookEnabled>		<!-- this is the default -->
    <processCheckInterval>10</processCheckInterval> <!-- this is the default -->
    <allowCompleteOthersItems>true</allowCompleteOthersItems> <!-- this is the default -->
    <primaryChangeProcessor>
      <enabled>true</enabled>						<!-- this is the default -->
      <addUserAbstractRoleAssignmentAspect>
        <enabled>true</enabled>						<!-- this is the default -->
      </addUserAbstractRoleAssignmentAspect>
      <addUserAspect>
        <approverRef oid="12345678-1234-1234-4321-123456781234" type="UserType"/>
      </addUserAspect>
      <otherAspect>
        <name>myExtraSpecialCustomWorkflowAspect</name>
        <approverRef oid="32143214-adce-9910-8898-439183748100" type="UserType"/>
        <approverRef oid="90101010-8818-0102-3111-849328493218" type="UserType"/>
      </otherAspect>
    </primaryChangeProcessor>
  </workflowConfiguration>
  • No labels