Description
Cases in Celonis can be configured to have subprocesses by adding additional information to the Activity table.
Master Process
For adding parallel processes to Celonis, a parent and a child column in the Activity table are used. If all values for parent and child are NULL, only the master process (non parallel process) is added to the data model.
Example
The overall process looks like this:
Column1
SOURCE ( "Activities"."ACTIVITY" )
Column2
TARGET ( "Activities"."ACTIVITY" )
Child-ID
A new subprocess is started by adding new child-IDs. The child-ID of a sub-process has to be unique among one case. Sub-processes with the same child-ID are modelled as a sequential subprocess. They are implicitly joined, as soon as activity of the master process (child-ID and parent-ID are both NULL) starts.
Example
The overall process looks like this:
Column1
SOURCE ( "Activities"."ACTIVITY" )
Column2
TARGET ( "Activities"."ACTIVITY" )
Parent-Child Relation
You can define parent/child relations between subprocesses. This allows you to model a subprocess which spawns further subprocesses. As soon as the parent subprocess reads another activity, it implicitly joins all spawned subprocesses. The child-ID of a spawned subprocess has to be higher than the child-ID of its parent subprocess.
Examples
The overall process looks like this:
Column1
SOURCE ( "Activities"."ACTIVITY" )
Column2
TARGET ( "Activities"."ACTIVITY" )
Activities
CASE_ID : INT | ACTIVITY : STRING | PARENT : INT | CHILD : INT | TIMESTAMP : DATE |
---|---|---|---|---|
1 | 'A' | null | null | Thu Mar 10 2016 13:00:00.000 |
1 | 'B' | null | 1 | Thu Mar 10 2016 13:01:00.000 |
1 | 'C' | null | 2 | Thu Mar 10 2016 13:02:00.000 |
1 | 'D' | 2 | 3 | Thu Mar 10 2016 13:03:00.000 |
1 | 'E' | 2 | 4 | Thu Mar 10 2016 13:04:00.000 |
1 | 'F' | null | 2 | Thu Mar 10 2016 13:05:00.000 |
1 | 'G' | null | null | Thu Mar 10 2016 13:06:00.000 |
The overall process looks like this:
Column1
SOURCE ( "Activities"."ACTIVITY" )
Column2
TARGET ( "Activities"."ACTIVITY" )
Activities
CASE_ID : INT | ACTIVITY : STRING | PARENT : INT | CHILD : INT | TIMESTAMP : DATE |
---|---|---|---|---|
1 | 'A' | null | null | Thu Mar 10 2016 13:00:00.000 |
1 | 'B' | null | 1 | Thu Mar 10 2016 13:01:00.000 |
1 | 'C' | 1 | 2 | Thu Mar 10 2016 13:02:00.000 |
1 | 'D' | 1 | 3 | Thu Mar 10 2016 13:03:00.000 |
1 | 'E' | 1 | 2 | Thu Mar 10 2016 13:04:00.000 |
1 | 'F' | null | 5 | Thu Mar 10 2016 13:05:00.000 |
1 | 'G' | null | 1 | Thu Mar 10 2016 13:06:00.000 |
1 | 'K' | null | null | Thu Mar 10 2016 13:07:00.000 |