If multiple processes need to be displayed in a process graph, and messages are passed between the processes, then swimlanes can be used to draw the processes, as shown in the following figure:


There are two processes in the above figure : one is the process of synchronizing orders and distribution, and the other is the process of production scheduling. In order to distinguish the different responsibilities of the process, you can use the title of the swim lane to distinguish.

There will be two process records in the database showing the swim lane process. One is the main record process, and the other is the swim lane process record. The database fields: PackageType and PackageProcessID are used to directly establish a relationship between the main process and the swim lane process.

If the version of the main process is updated or deleted, it will also affect the synchronous update or deletion of the swim lane process.