How can i delete a process instance if an included user input task is closed by

How can i delete a process instance if an included user input task is closed by user.Let say there is a proces that has 3-4 chained input task.I want if a user close the browser window on any of these task then process instance should get deleted.I mean it should not be present in the reports.Also is there any way to show a warning popup to user before closing a browser window....

OriginalPostID-83608

OriginalPostID-83608

  Discussion posts and replies are publicly visible

Parents
  • You can create a process flow to take the task to a Terminate event. Once done, you also require the data management of this process to be set to Delete immediately.
    A word of caution - Though this will address your use case (a point solution), you need to consider the wider impact of setting the data management to delete immediately. There are alternate approaches available, such as putting this part of the process into a subprocess and setting the data management of the sub-process accordingly. I'd suggest you take a moment to consider the wider impact before making such changes.
Reply
  • You can create a process flow to take the task to a Terminate event. Once done, you also require the data management of this process to be set to Delete immediately.
    A word of caution - Though this will address your use case (a point solution), you need to consider the wider impact of setting the data management to delete immediately. There are alternate approaches available, such as putting this part of the process into a subprocess and setting the data management of the sub-process accordingly. I'd suggest you take a moment to consider the wider impact before making such changes.
Children
No Data