I need to get the Compliance score of an application as a service in my destination location, I have written the service and getting the proper result, but the service is running in the application context of the Access Group mentioned in the Service Package, hence not able to calculate the compliance for all the applications with a single Service package.
Posted: 6 years ago
Posted: 25 Jan 2017 8:12 EST
Rajeev Ranjan (ranjr)
Principal Technical Solutions Engineer
pxDiscoverCaseTypes is used to fetch information for FCM, so in this case operator will already have all the relevant access groups mentioned. Even though your approach of having one operator with all access groups work, could you also try out the below method since it would be more flexible
You can actually use the same method used in pxDiscoverCaseTypes i.e. setActiveAccessGroup but pass an additional third param as true. This param is for allowing access to switch AGs even if it is not mentioned in operator's list.