Discussion

30
Views
Close popover
Naval Toshniwal (NavalT58)
Larson and Toubro Infotech

Larson and Toubro Infotech
IN
NavalT58 Member since 2019 5 posts
Larson and Toubro Infotech
Posted: December 2, 2020
Last activity: December 3, 2020

Unable to set Custom Validations on Operator Save

Hello All,

We are trying to add a few custom validations while saving an Operator Id record. We have used the PreSave extension activity provided. 

Below are the Steps we performed.

1. Data-Admin-Operator-ID PreSave activity specialized to our application ruleset and created a custom code in step 1

2. Added the Page-Set Messages in the custom activity and same is being set on the primary page

3. The Data-Admin-Operator-ID.Save activity in Pega-Desktop is clearing the messages set on the primary page, the parameter SkipValidation is causing the same. In Step 2 save @baseclass setup of Pega-Desktop is called which is having Page Clear message at Step 5 if Parameter is true otherwise at step 1 of Data-Admin-Operator-ID validate activity called at Step10

Can some one please help me with the process of setting up the custom errors using PreSave extension otherwise should we go ahead and customize any other rules?

Regards,

Naval

Pega Platform System Administration Technology Services Lead System Architect