Will change of workflow affect workitems already exists?
What will happen to the existing workitems if we change the workflow of a workitem type? Do we need to update all or can we leave it as-is?
I want to update the workflow of "Task" workitem type from "Default workflow" to "Task workflow" In my case both "Default workflow" and "Task workflow" are identical? Process template: Formal process model Does this also affects custom scripts? |
Accepted answer
Ralph Schoon (63.4k●3●36●46)
| answered Jun 27 '16, 5:53 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jun 27 '16, 5:54 a.m.
If you change the workflow, RTC will use the state ID's for the new workflow. For all existing work items based on the old workflow, if there is a state with the same ID in the new workflow, it will show. If there is none, as far as I can tell, the initialize action will be executed and you end up in the new state. The resolution is likely also affected, but I have not played with that.
One way of dealing with this could be an CSV export of the affected work items and their states. Then, create a mapping of the target states and run an import with update. Karthik Krishnan selected this answer as the correct answer
Comments
Karthik Krishnan
commented Jun 27 '16, 7:16 a.m.
The state and actions are identical in both the work flow as one is called "Default workflow" and the other is "Task workflow", which comes as part of the Formal process template provided by RTC.
Karthik Krishnan
commented Jun 27 '16, 7:32 a.m.
Checked and here is how the workflow is represented internally
Karthik Krishnan
commented Jun 27 '16, 7:56 a.m.
I did change in the test Project area and all "Task" were uninitialized. Guess this activity is more tedious than I thought.
The export and some search and replace could provide a lot of help here
Karthik Krishnan
commented Jun 27 '16, 9:12 a.m.
Yes that might help but I am talking about ~ 50000 + Task workitems
|
One other answer
Hello,
If you remove existing states from workflow, it will show you data impacted and you can update all affected work items to another state. If you add new state or action, it will be reflected for all existing workitems as well.
This article explains impact of each change in detail:
https://jazz.net/library/article/1002
- RShah
Comments
Karthik Krishnan
commented Jun 27 '16, 7:15 a.m.
The state and actions are identical in both the work flow as one is called "Default workflow" and the other is "Task workflow", which comes as part of the Formal process template provided by RTC
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.