How do I find newly added Approvals in a Operation Advisor?
Hi
I am developing a server-side operation advisor extension, which needs to allow a specific role from creating specific Approvals (based on the approval name). This approval can be added at any point in the Work Item workflow.
How can I find out what are the newly created approval descriptors during a work item save?
Thank you,
Sudheer
One answer
How about
- Getting the old state of the work item
- Getting the new state of the work item
- Getting the approvals from the old state
- Getting the approvals from the new state
-
Figuring if there is a new one by comparing the number of attachments and finding the one that is not in the old list (maybe there is a date on the approval, not sure)
Comments
showing 5 of 6
show 1 more comments