Posted: 2 Dec 2020 12:35 EST Last activity: 3 Dec 2020 0:25 EST
Unable to set Custom Validations on Operator Save
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?