Configure HCM Approval Rules Using Advanced Mode

This topic describes how to configure approval rules using the advanced mode.

You use the advanced mode when you have different rules and each condition in the approval rule needs to be evaluated. For example, say you need to configure a change assignment approval rule that's based on a requestor’s role. The requestor could have more than one role, such as a line manager and an HR specialist, and you want to use different rules when the requestor is only a line manager (not a HR specialist), only an HR specialist (not a line manager), or both a line manager and an HR specialist.
  1. Sign into the BPM Worklist page, in the Tasks to be configured panel search for and select an approval rule. If the task isn’t in an editable mode, click the Edit icon.
  2. Click the Assignees tab, and then click Go to rule.
  3. Click the Advanced Add or Modify Options drop-down menu, and select General Rule.
  4. Select the new rule that displays and click Properties.
  5. Enter details for the new rule and and select the Advanced Mode. Click OK.
  6. Add patterns, each representing an object in the condition.
  7. After the collection pattern, click the Advanced Add or Modify Options icon, and select simple test.
  8. Define a condition that the rule would match on within the collection, selecting attributes under the folder named after the variable. Add more conditions if you need to.
  9. In the toolbar for the collection pattern, click the Surround selected tests with parenthesis icon, and select Surround.
    The surround option puts the pattern you just added and other conditions you define later within parentheses, to group them all together. Conditions within parentheses are evaluated in their entirety.
  10. In the drop-down list before the collection pattern, select how you want the rule to match against the collection. The options are Each, At least one, None, and Aggregate.
  11. Configure the Then section.
  12. Review the rules and then click Commit to save your changes.