CASE_TABLE
Applies to: CELONIS 4.7
Description
CASE_TABLE allows to refer to the case table in the data model without using its exact table name. This operator is helpful in data models with multiple activity/case tables.
This function returns a reference to a case table. The result of this function can then be used at all places where table names are accepted.
Syntax
CASE_TABLE ( [ expression ] )
- When an expression that involves a column of an activity table is passed as an argument, the case table connected to that activity table is referenced. 
- When no argument is passed, the default case table in the data model is referenced. 
Examples
| [1] In this example, the data model contains one activity and one case table. By using a column reference as the input expression and  
 | 
| [2] In this example, the data model contains one activity and one case table. By using a column reference as the input expression, we refer to the case table and query one of its columns. 
 | 
| [3] In this example, the data model contains one activity and one case table. By passing no arguments to the  
 | 
| [4] Here,  
 |