Information about the case
From RuLa, you can access certain information about the case itself. For this, within applicable rules, you have access to the constant CASE like to any other instance. On this instance, the following information is available:
Property
Description
CASE.case_number
The case number in the user readable format, e.g. CSE-1991.
CASE.process_key
The key of the process the case is based on, e.g. end_to_end_onboarding.
CASE.process_name
The translated name of the process the case is based on, e.g. End to End Onboarding.
CASE.outcome_instance
The outcome instance this case operates on. For a case creating a new contract this is often ContractualRelationship.
CASE.state
The key of the current state the case is in, e.g. draft.
CASE.number_of_tasks
Current number of tasks within the case.
CASE.number_of_issues
Current number of issues within the case.
CASE.last_update
The last time the case was updates, e.g. 2021-03-12 11:58:08.644664.
CASE.owner
The owner of the case (the email in rules and the full name and email when printed)
CASE.owner_name
The full name of the case owner
CASE.initiator
The initiator of the case (the email in rules and the full name and email when printed)
CASE.initiator_name
The full name of the case initiator
Case.approver
The user (if any) who approved the case (the email in rules and the full name and email when printed)
CASE.approver_name
The full name of the case approver

Example with number of issues or tasks

1
CASE.number_of_issues = 0 and CASE.number_of_tasks = 0
Copied!
This rule will only be fulfilled when there are no issues or tasks within a case.

Example with case state

1
CASE.state = 'draft'
Copied!
This rule would only be fulfilled while the case is in the state with the key '"draft".
Please note that if you are using this to create an issue or comment, it would be, as any other issue, comment or warning, removed when the case leaves that state (unless a user replied to it or was assigned to it).
Last modified 12d ago