Skip to main content
May 11, 2021
Solved

Delete Process instances from environment

  • May 11, 2021
  • 9 replies
  • 0 views

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.

    Best answer by gauravs0010

    [mention:3f7a8d4b3dde4eca8f76c01199a45127:e9ed411860ed4f2ba0265705b8793d05]

    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.

    9 replies

    stewart.burchell
    May 11, 2021

    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.

    May 11, 2021

    [mention:3f7a8d4b3dde4eca8f76c01199a45127:e9ed411860ed4f2ba0265705b8793d05]

    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.

    May 18, 2021

    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. 

    May 18, 2021

    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.