Question

1
Replies
17
Views
OleksandrByelyenov Member since 2016 40 posts
Sberbank
Posted: July 19, 2020
Last activity: July 20, 2020

How to check uniqueness of data class instance?

Hello!

I have a Manager portal with a custom Repeating grid layout which displays instances of my custom Org-App-Data-Person internal class.

Data source is a report definition.

Person has a ID (database identifier), PID (mast be unique), name, surname.

I can add and update the values through a local action on the Repeating grid layout, but I can't check if there is an item with the same ID or PID in the table.

How can I check and show an error message on local action section if there is already an item in a database with the same ID or PID?

Thank you.

***Edited by Moderator: Pallavi to move from Pega Academy to Product***  

Pega Platform 7.1.8 Data Integration
Share this page LinkedIn