Team,
We are on 17.4 version and trying to remove all process instances from one of our lower environment around 100k+.
Do we have any function or plugin which we can use to delete them at once instead of manual deletion .
Thank you.
Discussion posts and replies are publicly visible
Hi Gaurav
There isn't anything out of the box. There are relevant utilities in the AppMarket (e.g. https://community.appian.com/b/appmarket/posts/process-management-services) which, I presume, you would use in conjunction with a Process Report, the latter with which you can get the list of process instance identifiers.
gauravp0003
You can create a process report to to get the process ids of the instances and then pass those Process ids to Delete Process Smart service.
Thank you , will it work for parent child process as well ? like parent is deleted but child still active or it will be deleted too.
For this case you need to configure your subprocess in a way that while generating the process report of parent you should be able to capture sub process details as well.
Thereby passing all the process instance Ids you can delete all.
Thank you i created an expression with a!queryProcessAnalytics() and it provides the process id's of sub process to delete as well.
Great.. :) Please validate my response as answer
Gaurav,
In the Process Report configuration also should we mention, include data from sub-process as YES?
or only configuring in PM is enough?
include data from sub-process as YES? should suffice and show subprocess in report . For us we have to because not all the process configured to show subprocess
Hello,
I'm trying to clean the completed processes from lthe ower environment. (currently this Env has 4k completed instances)
I created a process report for completed processes and used a!queryProcessAnalytics() with batching to retrieve the process IDs.
However, I’m encountering the following issues during the deletion process:
Has anyone else encountered these issues? If so, were you able to resolve it?
Has anyone successfully deleted a large number of process instances using this smart service?