Question
TCS
GB
Last activity: 9 Sep 2020 12:16 EDT
PEGA API TEMP API CREATION
is pega API as per design not meant to create temporary work objects. our req - do some validation based on received incoming payload and if all mandatory info is not received, we dont want to create a case in Pega.
when we do so we are getting error - Pega_API_014
On further troubleshooting - came across this activity pzValidateCreateCase which sets the error code in API response when workPage.pzInsKey=="". In case of temporary work object – pzinskey is obvious to be empty hence this failure
Came across few articles on PDN related to this topic confirming the theory for Pega 7.2.2 - can someone confirm if applicable for 8.3.1 as well.
https://community.pega.com/support/support-articles/pega-api-wont-create-temporary-cases
https://collaborate.pega.com/question/how-create-temporary-cases-through-pega-api
***Edited by Moderator Marissa to change type from General to Product, update Platform Capability tags****