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's gravatar image

lphieu
(suspended)
accept rate: 0%

edited 17.01.2020 at 02:08

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

(17.01.2020 at 02:30) Lukas Lieb ♦♦ Lukas%20Lieb's gravatar image
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×147
×2

Asked: 17.01.2020 at 01:36

Seen: 1,259 times

Last updated: 17.01.2020 at 02:30