suspended, error and locked process

suspended, error and locked process

  

What are the possible scenarios whereby

- process instances are suspended but process not locked

- processes instances are active, but with error

- process is locked

Is there anyway I can throw and handle exception in the process?

Hi Liwei,


- process instances are suspended but process not locked

Process Instances are suspended either manually in Service Center or automatically after the deployment of a new version the module that contains the process if there are changes that require the process to be suspended (Ex: a activity that was being processes no longer exists or now requires a input that did not exist before)

- processes instances are active, but with error

When activities throw exceptions they will marked with errors. Activities with errors will automatically be retried periodically.

- process is locked

Processes are locked either manually in Service Center or automatically during part the compilation/deployment of a new version of the module that contains the process (automatically unlocked after it finishes).

 - Is there anyway I can throw and handle exception in the process?

Exceptions inside the process should be handled inside the activities. Personally I don't recommend using exceptions to "control the flow" of any logic, if your process needs to behave differently when errors occur, then you should have outputs and Decision activities to represent it in the process.


Regards,
João Rosado