Question
Pega Systems
IN
Last activity: 22 Mar 2017 15:35 EDT
Using OOTB Pega API
We have a scenario of creating cases using pega webservice.
I have case A and case B. Case B is subcase of A which will be created by case management configuration as a child.
We tried using OOTB Pega APIs. Can we conditionally skip creating parent case?
Our scenario is - pega will get info from a different system - based on that we have to create parent and child. Some cases, parent may be existing already, then we have to skip creating parent, but create child. All the activities used on service are Final. what would be the right way to use the OOTB APIs for our scenario.
https://pdn.pega.com/pega-api-pega-7-platform
***Updated by moderator: Lochan to add Categories***
I don't have the answer memorized, but here's a suggestion for finding the answer:
1) Set up a case type rule that asks for a parent and a child.
2) Trace its performance so you see what ootb rules it calls for creating the parent and the child.
3) In your web service, call the same ootb rules for creating your parent and child, but put conditional code directives in as appropriate so you skip your parent-creation as needed.
/Eric