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.
The outcome instance this case operates on. For a case creating a new contract this is often
The key of the current state the case is in, e.g.
Current number of tasks within the case.
Current number of issues within the case.
The last time the case was updates, e.g.
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.