Can we change the non-based-attribute "Workflow State" when a specific attribute value changes?
![](http://jazz.net/_images/myphoto/46a616bd4d976316bd7845ac89097cda.jpg)
I have a set of work items that have a Boolean attribute called "Service Line Approval". I want to change the value of "Workflow State" (which is a non-based-attribute) to "resolve" if the "Service Line Approval" is checked and the work item state was "New" or "In Progress".
I can't do that using a "Calculated Value" script as I can't find a way to work with the non-based-attribute "Workflow State".
Is there another way to do that or anyway to work with such kind of information within attribute customization scripts?
One answer
![](http://jazz.net/_images/myphoto/46a616bd4d976316bd7845ac89097cda.jpg)
No, you can not do that easily. The only way to do that i am aware of would be a server side work item save follow up action. There is no other way I am aware of. This would perform the transition automatically AFTER YOU SAVE.
See https://rsjazz.wordpress.com/2012/11/27/resolve-parent-if-all-children-are-resolved-participant/ for an example that does a state change after a save.