Hi Ivy team At the moment, we deploy our application with multiple PMVs, each PMV has its own running case. And now we change our mind, we don't want to deploy multiple PMV anymore, we want to make sure the Ivy engine contains only the lastest PMV. For that reason, we want to remove the old PMV first. But when we remove the deprecated pmv, adminUI throws the message that I can't remove deprecated PMV. We know that we should resolve all running tasks to make deprecated PMV become archived and removable. But the are a ton of running tasks for PMV. So our question is: Is there any way to remove/resolve those tasks automatically or at least migrate that task to the lastest PMV? Thank for any help asked 17.01.2020 at 01:36 lphieu |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 17.01.2020 at 01:36
Seen: 1,331 times
Last updated: 17.01.2020 at 02:30
Hi There is no way to migrate running cases to the new PMV. You can do it manually over a workflow ui or automated with some art of process which sets every task in this pmv to destroy (there's an API ITask#destroy). Or may write an SQL Query, which sets all Tasks (Taskstate) for this specific ProcessModelVersion to 'Destroyed' (7). But write SQL queries can dangerous...
Kind regards
Lukas