How do you add custom message to the Property when it fails the Validation.



How do you add custom message to the Property when it fails the Validation...

Answer / Ankit Raj

In Pega, you can add a custom error message to a property that failed validation by using the Rule-Exception rule. Inside this rule, you can access the invalid property and its error through variables like $PropertyName and $Message, respectively. Then, you can set a new message for the property using the Set-Property action.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Pega Interview Questions

Explain about show-html method?

1 Answers  


What is dwa (direct web access)?

1 Answers  


What is the property?

1 Answers  


What are the types of SLA? Where they can be defined?

1 Answers  


Define about property-set-message?

1 Answers  


Explain in brief the configuration of a list view?

1 Answers  


Define what is the rule availability?

1 Answers  


While creating class group if we didn't mention key name is it going display error it will save?

1 Answers   CTC,


What are types of flows?

1 Answers  


Explain about Property-Map-Value?

1 Answers  


What is backward chaining and forward chaining?

1 Answers  


Where u can identify the work object id?

1 Answers   JPMorgan Chase,


Categories