Delete/Cancel all active processes

Hi Team,

 

We had an error in one of the expression rules which is used by a process ;un-fortunately this process is triggered in every 15 minutes and we have lot of active process instances flooding the system. Is there a smart way to delete all this active process from the system. As of now we are manually deleting it from Process tab

 

Thanks,

George

  Discussion posts and replies are publicly visible

Parents
  • Hi,

    You can either use :

    Solution 1:

    1. Create the process report for process model for which you want to delete/cancel instances, with added filter like from date and to date if you want to delete for specific period.
    2. Select the upper tick box to select all the process instances of one page then click on delete.
    3. Repeat the step 2 until all the process instances delete.

    If there are such amount of processes you can not delete them by clicking on upper tick-box

    Solution 2:

    1. Create the process report for process model for which you want to delete/cancel instances, with added filter like from date and to date if you want to delete for specific period.
    2. You need to create a utility process model where you need to fetch process ids using a!queryProcessAnalytics()
    3. You need to pass all ids to delete process/cancel process smart service to achieve your requirement.

    I hope this will help you.

    Thanks
    Shafaly
Reply
  • Hi,

    You can either use :

    Solution 1:

    1. Create the process report for process model for which you want to delete/cancel instances, with added filter like from date and to date if you want to delete for specific period.
    2. Select the upper tick box to select all the process instances of one page then click on delete.
    3. Repeat the step 2 until all the process instances delete.

    If there are such amount of processes you can not delete them by clicking on upper tick-box

    Solution 2:

    1. Create the process report for process model for which you want to delete/cancel instances, with added filter like from date and to date if you want to delete for specific period.
    2. You need to create a utility process model where you need to fetch process ids using a!queryProcessAnalytics()
    3. You need to pass all ids to delete process/cancel process smart service to achieve your requirement.

    I hope this will help you.

    Thanks
    Shafaly
Children
No Data