roles

Description

Use roles to check if the instance in a case has a certain role. Based on that, you can require different documents.

Example

p is Person
p.roles contains AccountHolder

This condition evaluates to 'true' if the person involved has a role as an account holder in the case.