The Pause Process and Start functionality pauses a current process instance and starts a new process. The data associated with paused process is passed by copy to the newly started process. The paused process is coupled with the newly started process regarding its life-cycle. The newly started process contains a link to the originating one and vice-versa. These new process definitions can be all startable processes from all active models, including a new instance of the originally running process definition itself.
Consider a scenario of an organization that has implemented the Infinity Process Platform Portal workflows to manage several of its mission critical business processes. After using the system for several months, the company notices that approximately 4% of the process instances are started but approval is pending for these processes. In this case, the operator would need to pause the current process and start approval process from that point. When the newly started approval process completes, the paused process becomes active. From there the workflow becomes regular.
Pausing and starting a new process is performed in the following sequence:
If the process goes in halted state, then the interactive activity also achieves the halted state but you can still write data to these activities via Complete or Suspend and Save operation. So, if you leave an activity in Application state (i.e. you do not close the activity panel after activating) and halt the process from some other view, the activity goes in Halted state. But you will still be able to Complete or Suspend and Save the activity, as long as the activity panel remains open.
You can halt already halted process. And when multiple started processes are completed after halting a process, the halted process becomes active again.
If the process is in halting state, no operation is allowed until it is Halted. Abort or any operation is performed once the process achieves the Halted state.
For more information, please refer the section Process Instance States and Activity Instance States of the Processes and Activities chapters, respectively.
The newly started process is linked to the currently halted process. The link is an additional property of a process instance and influences the process hierarchy. An API is provided to retrieve the linking information from an existing process instance. Refer to chapter Pausing Workflow Processing for Spawned Processes of the Programming Guide for details.
The links are established from the current process instance to the newly started process instance and vice versa.
The following link types are created if the current process is paused until the newly started process reaches the state Complete: