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:
The case number in the user readable format, e.g. CSE-1991.
The key of the process the case is based on, e.g. end_to_end_onboarding.
The translated name of the process the case is based on, e.g. End to End Onboarding.
The outcome instance this case operates on. For a case creating a new contract this is often ContractualRelationship.
The key of the current state the case is in, e.g. draft.
How many information still should be provided (the sum of all the grey bubbles on information tabs).
Current number of tasks within the case.
Current number of issues within the case.
The time when the case was created, e.g. 2021-11-30 16:40:12.923654
The last time the case was updates, e.g. 2021-03-12 11:58:08.644664.
The owner of the case (the email in rules and the full name and email when printed)
The full name of the case owner
The initiator of the case (the email in rules and the full name and email when printed)
The full name of the case initiator
The user (if any) who approved the case (the email in rules and the full name and email when printed)
The full name of the case approver
A list with the names of all documents that are used in a case. This can be used to e.g. create a customised table of contents.
A list with the names of all proofs that are used in a case. This can be used to e.g. create a customised table of contents.
CASE.number_of_issues = 0 and CASE.number_of_tasks = 0
This rule will only be fulfilled when there are no issues or tasks within a case.
CASE.state = 'draft'
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).