cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a 'always valid' exit strategy

irisperl
Champ in-the-making
Champ in-the-making
Hello,

is it possible to define an event wich is always triggerable to end my process before doing one last task?
3 REPLIES 3

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Iris,

Could you describe your case little bit more?

Regards
Martin

irisperl
Champ in-the-making
Champ in-the-making
i would need a event or task like 'cancel Process' which can be triggered at any time, so i wouldnt have to include it as next possible "step" in the workflow for each and every task, and skip right to the end event. i don't know if there is a established way to do this?

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Iris,

just call api

  /**
   * Delete an existing runtime process instance.
   *
   * @param processInstanceId
   *          id of process instance to delete, cannot be null.
   * @param deleteReason
   *          reason for deleting, can be null.
   * @throws ActivitiObjectNotFoundException
   *           when no process instance is found with the given id.
   */
  void deleteProcessInstance(String processInstanceId, String deleteReason);
Regards
Martin
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.