Tuesday, March 4, 2014

AgilePoint (AgilePart) - Managed C# Code: How to get AdminService

In your lifetime of AgilePoint development you will commonly come across situations where you need to access system data such as process template information, delegations that are active and so on.
2 common services provided OOTB are the Workflow services object and AdminService services object.

You have probably come across code samples that shows you how to get the admin service in a standalone environment.
Now I am showing you a much easier method that can be integrated into your process template.



In your Managed Code C# AgilePart, you have the WFProcessInstance object. The AdminService can be derived from this object! Just use WFProcessInstance.WFAdm

Not making sense? Here is a sample to show you what I mean.


Related Posts Plugin for WordPress, Blogger...