Deletion Policy

Hi all,

I want to automate the change of the deletion policy of a Process model (PM) when it is deployed. My idea is as follow:

  • Look into PMs there were deployed.
  • Change the data retention to delete after 1 or 0 day 
  • have a list of exceptions to not be updated when these are deployed.
  • To run this new PM for each new deploy

How Can I extract the UUID of the deployed PMs and then change their policy. 

I did this in the past but with old plugins that are not available anymore (and in other cloud instance).

Thanks in advance

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Lead Developer
    in reply to marios6581

    You can may be design a process model that runs post deployment.

    In it add a UI first where administrator can add the export log from the deployment (from design->deployments). Then you can configure expression fetch the process model uuids from the success objects in the log. (This last step, I don't know if this plugin can help you read the file or if AI Skills can help here, so you can give it a try). 

    Lastly Process Model Utilties plugin can help you set the Cleanup settings for the uuids fetched in previous step. 

Children
No Data