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 .
Discussion posts and replies are publicly visible
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
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
© 2021 Appian. All rights reserved.