Close popover
Ankush Sultania (AnkushS8011)
Tech Mahindra
Solution Architect
Tech Mahindra
AnkushS8011 Member since 2016 2 posts
Tech Mahindra
Posted: February 9, 2021
Last activity: February 12, 2021

Force Save for backend synchronous case creation

Hi All,

Use case: User action on parent case, creates a child case in a synchronous call. However some times during the middle of child case flow, page messages are getting set which is causing the Parent and child case to not save in DB. We need to force DB save of the child case so that if anything fails, the case data will be available as exception handling to debug this issue in PROD.

For force saving the data first time (when pzinskey is blank). I added a Data Transform in the start shape connector in first flow of the first stage of the child case type and tried below options.

  • Calling Obj save with write now (gives commit error on submit of parent case)
  • Calling persist case (does not save the data in DB)
  • Calling Commit with acquireWorkObject (gives commit error on submit of parent case)

Is there any way to force save child case in DB without getting lock or commit errors.

Kind Regards,


Pega Platform 8.3.3 Case Management Manufacturing Lead System Architect