Can I have a pre-defined list of approvers when creating work items that "Required Approvals"
Accepted answer
We tried to solve a similar problem and came to the conclusion that the approvers don't function as other work item attributes for means of accessing them programmatically.
As it is not possible to access approvers with the JavaScript API or by using Custom Attributes, we decided on developing a server side extension which populates the list.
We added a save operation participant which would add approvers published by an XML service if a certain "needs approval" - attribute was set.
Comments
i also created a server side plugin to create approval records on workitems.
it can set the approver by role or userid. not quite as smart as Kevin's
See https://rsjazz.wordpress.com/2012/11/30/a-create-approval-work-item-save-participant/ for an example follow up action.
1 vote