Skip to main content
October 20, 2022
Question

Can a Process model be deleted safetely, if some instances are still running ?

  • October 20, 2022
  • 10 replies
  • 0 views

Hi,

A process model had to be deployed from Preprod to Prod, but because of a Deployer error, the Deployer failed.

To unblock the situation, the process in Prod has been deleted first in Prod before to be re-deployed with success. 

The Process Model works fine in Prod, but what about the active instances ?

Question : Once such a process is re-deployed is it a problem for all the active instances still waiting?

Because this Process model is a "long life" process, can this one be deleted safetely (and then replaced by the new version)?

10 replies

stefanhelzle0001
Brainy
October 21, 2022

Changes on a model will have no impact on the active instances.

October 21, 2022

Thanks a lot Stefan and Sairam, I had a little doubt...I am reassured.

October 21, 2022

u can delete it and redo the changes and you can upload the new version to prod and there will be no impact on long life process or active process

October 21, 2022

I would have an other question :

We have a Report Process that is linked to the deleted process in Prod.

When I open this Report Process, I see many task lines, but I can see that the context has disappeared from the Report (it says "no context" but I should see the deleted process).

If I edit it to re-link the process and apply, all the previous lines are missing.

I'm afraid, I suppose it is normal to lose all the lines because linked to the previous deleted process ?

In these case, can all the lines be copied (or moved) from the previous deleted process, to the new deployed process ? 

csteward
October 21, 2022

Have you re-deployed the new version of the process yet?

If you delete a model and re-deploy to production later, while the UUID stays the same, the process model ID will change - I haven't tested how this scenario would affect process reports however (since we do not use them).

Any reason you could not simply remove access to it but leave the process in place, and open access to initiate once the new version is/was deployed?  (In which case you could re-deploy now, remove submit access, to see if this resolves the reporting issue).

October 21, 2022

Unfortunately, yes the process already has been deleted then redeployed.

The actual process report (new unlinked to any context) displays all the tasks that are older to the date of the re-deployed process.

How may I reaffect the context and retrieves all the tasks ?
or is it possible to to it manually ? to copy the lines ?