Reputation: 59
I have the requirement where I do need to change the System.State
field of workitem
when other field gets changed. I know TFS workflow is state-based i.e. depending upon the state you can change values of other fields. But how to go another way around?
- Mayur
Upvotes: 3
Views: 2665
Reputation: 381
I don't think you can achieve that by using the built-in work item workflow. That's due to the fact that one must use the <COPY> rule in order to set the value of a field. However, you can't use <COPY> with the System.State field. Trying to do so results in the following error:
TF26062: Rule '<COPY from="value" value="Active" />' is not supported for the field 'System.State'.
That leaves you with two options:
Upvotes: 2