Setting the "Assigned to" Field to Unassigned
Has anyone implemented the "Assigned to" field becoming Unassigned when there is a State change that makes it Required?
The example is that in one state the value is a developer and then in the next state it needs to be changed to a tester, but it is still populated, so even though the field is required, it can overlook being reset to a tester's name. If it was cleared to Unassigned, then it would error out if attempted to be saved without being set.
The example is that in one state the value is a developer and then in the next state it needs to be changed to a tester, but it is still populated, so even though the field is required, it can overlook being reset to a tester's name. If it was cleared to Unassigned, then it would error out if attempted to be saved without being set.
2 answers
you cannot set a required field to unassigned, even in a participant. the save will be rejected.
there was a discussion at one point about possibly ordering the advisors and participants in such an order as to maybe enable this.. but if a participant does an explicit Save, it drives another advisor chain invocation, which will eventually reach the required field advisor who will reject the save..
there was a discussion at one point about possibly ordering the advisors and participants in such an order as to maybe enable this.. but if a participant does an explicit Save, it drives another advisor chain invocation, which will eventually reach the required field advisor who will reject the save..
Comments
1 vote
As far as I can tell Sam is completely right. Despite the fact of http://rsjazz.wordpress.com/2012/12/14/do-not-modify-the-triggering-element-in-an-operationadvisor/
I agree that you can not do this, except you make the attribute not required by the standard settings and add you own advisor and use the additional parameters as in
http://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/ to communicate the ax caption.