Pega Constellation

Pega-API-DataPersistence used for adding, editing and deleting a table in pega constellation API. Primary key for my data class is pyGUID. When pyGUID is autogenerated- Adding(pxCreateDataRecord) is working fine.

But for Delete (pxDeleteDataRecord) and Edit (pxUpdateDataRecord) is forming a new record with empty values with new pyGUID instead of using parameter from -dataViewParameters, And saving that record in table.

If I don’t use pyGUID is autogenerated for the Data Class, Then it’s giving automation error.

What I am doing wrong? Or how to resolve this?

@MirzaN35 It seems like there might be an issue with the configuration of your savable data pages or data transforms. Please ensure that you have correctly mapped your class Keys to particular parameters in the Linked Field column. Also, check if you have correctly configured your data transform for the DELETE endpoint and if you have correctly configured a globally unique ID for each field that is on your data page to use the PATCH endpoint

This is a GenAI-powered tool. All generated answers require validation against the provided references.

Configuring CRUD data endpoints with Constellation DX API > Prerequisites

Configuring data transforms to support the delete action for CRUD endpoints o

onfiguring a globally unique ID to support the update action for CRUD endpoints on a Pega system of record

. If you’re still facing issues, you might need to check your application logs for more detailed error messages or contact Pega Support for further assistance. Please use the MSP to log an INC and provide the id here to help us track it.

@MarijeSchillern

Great Info there, Thanks!