Joget DX Available for Download
Check out Joget DX, the next generation successor to Joget Workflow for faster, simpler digital transformation.
This is a sample application meant to demonstrate the use of Subflow with each process maintaining its own Form table setup.
Figure 1: Process A
Process A will invoke Process B when the condition is met.
Figure 2: Process A's Subflow entity Properties
Figure 3: Process B (Subflow) Properties
The Workflow Variable from Process A (statusA) (see Figure 2) will be passed into Process B's (statusB) (see Figure 3) and will also be returned upon completion of the Subflow (Process B) as it has been set to "In and Out".
Figure 3: Process B
Upon completion of "Approve B" in Process B, Workflow Variable from Process B (statusB) will be returned to Process A (statusA).
Figure 4: Form Table Setup
Figure 5: Demo of the Workflow
Both processes maintain their own form table setup while being able to access each other's dataset seamlessly.