For example, assume the Accounts attribute contains a list of accounts associated with a customer. You want to filter access to the accounts based on the account type. With repeating policies, a decision is made for each item in the Accounts attribute, returning advice for each account that is permitted.

Repeating policies

To make a policy repeat, from the three-line menu, select Add repetition settings.

Note:

You can only add repetition settings to an existing policy. The three-line menu to add these settings does not appear when you are creating a new policy.

Screen capture of policy screen that shows three-line menu with Add repetition settings menu item

The policy repetition settings are described below.

  • Apply this policy to each item of

    The collection attribute to repeat over.

    This item is referred to as the repetition source.

  • Filtering by

    The decision and any attached advice to filter by.

The following example uses the Accounts attribute and Permit decision. In this case, the policy applies to every item in the Accounts collection attribute. The policy keeps each result that returns Permit.

Screen capture of repetitions settings
When you define rules and advice for a repeating policy, you can use:
  • Attributes with no repetition source

  • Attributes with the same repetition source as the policy

Repeating attributes

To make an attribute repeat, from the three-line menu, select Add repetition settings.

Note:

You can only add repetition settings to an existing attribute. The three-line menu to add these settings does not appear when you are creating a new attribute.

Screen capture of attribute screen that shows three-line menu with Add repetition settings menu item

The policy repetition settings are described below.

  • Repeat for each item of

    Note:

    If you set this field, you can only use the attribute in repeating policies. However, the attribute can then resolve against attributes repeating against the same collection. The attribute can still resolve against attributes that do not have this field set.

    The attribute to repeat over.

    This item is referred to as the repetition source.

  • Resolvers, Value Processors, Caching

    For a resolver, if Resolver type is Current Repetition Value, resolution is against individual items in the collection itself.

    For information about these items, see Resolvers, Value processing for an attribute, and Attribute caching.

You can use repeating attributes in named conditions and value processors. If an attribute uses a named condition or value processor, any repeating attributes referenced in the condition or value processor must have the same repetition source as the attribute itself. If a policy uses a named condition, any repeating attributes referenced in the condition must have the same repetition source as the policy itself.