It's all about the answers!

Ask a question

Possible to automatically assign approver based on an attribute selection?


kuo hao tah (1142830) | asked Nov 09 '12, 12:23 a.m.
Hi there,

Is it possible to automatically set up an approval, complete with the approver, when an 'Contributor' attribute is selected?

For example, if I have n 'Approver' attribute with Contributor based presentation, and i select Amy Whitehouse from that attribute. I would like an automatic approval to be set up, with the approver Amy Whitehouse automaically selected.

Is this possible?

Thanks,
KH

One answer



permanent link
Ralph Schoon (63.5k33646) | answered Nov 09 '12, 6:09 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
As far as I can tell, the only way this could be implemented today is as Advisor or Participant plug-in.

See: https://jazz.net/library/article/1000 for an example how to create a Participant (follow up action). https://jazz.net/wiki/bin/view/Main/RTCSDK20_ProcessPreConditionExampleThe and http://rsjazz.wordpress.com/2012/11/01/restrict-delivery-of-changesets-to-workitem-types-advisordelivery-of-changesets-associated-to-wrong-work-item-types-advisor/ for a precondition.  http://rsjazz.wordpress.com is where I blog my experience with the API's, http://rsjazz.wordpress.com/2012/10/01/adding-approvals-to-work-items-using-the-plain-java-client-libraries/ shows an example for creating an approval with approver. The example is for a client, not a server extension, however the code is very similar. You only have to replace the client libraries by the similar services.

Your answer


Register or to post 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.