Question
2
Replies
415
Views
Atos IT Solutions and Services GmbH
Posted: September 18, 2019
Last activity: September 18, 2019
Closed
Positive and Decimal Precision Validation
Hi Every one,
I have a requirement as "Property Value should be positive with 2 Decimal Precision". individually i am able to achieve,
my Solutions are 1. To Check Positive number i am using OOTB Edit Validate. 2. For 2 Decimal Precision i have created a Edit Input Rule.
If i have given both rules on Property level under Advanced tab, any one rule is getting executing.
But i want to achieve both validations. How can we achieve this.
Hi,
You can create a single custom edit-validate rule to perform multiple validations - To check Decimal precision and sign of number.
more about creating edit validate rules :
https://community1.pega.com/sites/pdn.pega.com/files/help_v731/procomhelpmain.htm#rule-/rule-edit-/rule-edit-validate/related.htm%3FTocPath%3DReference%7CRule%2520types%7CEdit%2520Validate%2520rules%7C_____3