Question

1
Replies
86
Views
ClaudioR Member since 2014 6 posts
Corner
Posted: 1 year ago
Last activity: 1 year 4 months ago
Closed

Open a top level cases from an enterprise application

Hi all,

we expose an enterprise WebService that allows external systems, given an input case type, to create a Pega case. Each case type refers to a case which belongs to a different top application in our layer cake.

Example: we could have an input “Case Type A” which instantiates a case which belongs to "Application A" top application and an input “Case Type B” which instead belongs to "Application B" top application. Since the service package rule is defined at enterprise level (using the enterprise access group) when we try to create a case using "pxCreateTopCase" we do not have visibility on the top application which the case refers to.

Our first approach, in order to have the correct top application context, was to dynamically switch access group from the webservice activity using the function "SetActiveAccessGroup" but it did not work. The workaround we have finally found but we do not particularly love is to create a wrapper webservice which, according to the input case type, calls other Pega application specific webservices linked to a service package that refers to the specific top application access group.

Do you have a better approach?

***Edited by Moderator: Pallavi to update platform capability tags***

Thanks a lot.

Case Management Data Integration
Moderation Team has archived post
Share this page LinkedIn