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?
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
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.
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.
Comments
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