Question
Trishul Information Technology Consulting Services Private Limited
IN
Last activity: 6 Jan 2025 3:45 EST
Assignment routing to 2nd PEGA application
I have two separate application("App-1" and "App-2") both are developed in pega.
In "App-1" I have one case type and in the processing of the case ,it need an approval from "App-2", upon approval/rejection "App-1" should be notified.
What is the recommended approach to implement this scenario in pega constellation.
-
Reply
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
CA
Please leverage DX API V2 to communicate between the applications and move the assignment to the next step on App1 based on the Approval workflow configured in App2.
Trishul Information Technology Consulting Services Private Limited
IN
so for that i need to create one case type in (App-2) which have one workflow for (example"Approval") using "CreateCase"
DX-API .Upon approval/rejection i need to update the (App-1) case using another DX-API call right?
Updated: 24 Dec 2024 15:27 EST
Pegasystems Inc.
CA
Trishul Information Technology Consulting Services Private Limited
IN
@RameshSangili ok.
and another question when i am creating the "connect REST" shall i use some properties whatever i needed or create all properties which the dx-api is responded??(because it returning huge metadata/properties .. )
what is the best approach ?
Pegasystems Inc.
CA
I'm not sure what you're referring to here when creating some/all properties. It will return the properties configured in your report definition for data views, primary fields and other fields configured in your UI in your case flow/.
Pegasystems Inc.
US
@sujay, we need more information in order to answer your question. Depending on how your infrastructure and app architecture the answer could be similar to how you would do it in UI-Kit or Theme Cosmos at least from a flow perspective.
Here's some courses that may help you answer the question:
HCA Healthcare
US
@sujay To implement assignment routing between two Pega applications ("App-1" and "App-2"), use REST APIs for communication. In "App-1," add an integration step to send approval requests to "App-2" with necessary data like the case ID. In "App-2," create a case or assignment upon receiving the request, process the approval/rejection, and send the decision back to "App-1" via a callback API. Update the case in "App-1" based on the response and proceed with the workflow. Secure the communication using OAuth 2.0, handle errors with retry logic, and log all interactions for troubleshooting. This ensures smooth integration between the two applications while keeping the process efficient and reliable
Trishul Information Technology Consulting Services Private Limited
IN
@Sairohith Without a case type can I create an assignment? (In App-2)