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