Question
Areteans Technology Solutions Pvt Ltd
IN
Last activity: 7 Aug 2018 10:19 EDT
Validating currency
I want to validate the cost field. So that, users can not enter a negative value, the amount should be less than 100000 and the entered amount should always be a multiple of 1000.
Can anyone explain how to achieve this.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
EPAM Systems, Inc.
ES
I have reviewed the screen-shot, as said by Bhavya it's something related with your access role.
In your access group, under the advanced tab check for the "Rule security mode" dropdown and select "Allow" if not, already configured.
In Deny mode, rules require privileges, and all users must be granted those privileges in order to execute the rules.
I think, your access group doesn't have access role to create the rule or else their is Access Deny configured.
Refer:- Setting role privileges automatically
Coming to your core query, Edit Validate is the best way to implement your use-case.
Hope it answers your query, kindly notify if it does by marking this post as answered/helpful for larger Pega audience.
Regards,
Asif
Pegasystems Inc.
IN
You can use EditValidate rule to achieve this
Areteans Technology Solutions Pvt Ltd
IN
I tried using edit validate rule previously. But, it is showing an error while I'm trying to use it. Can I use validate rule instead of edit validate rule.
-
Tayler Makinen Prasanna Pradhan Mithun Naik Joseph Morris
Coforge DPA
GB
Edit-Validate should be the best option in for this.
The screenshot you have put shows that you are not able to create Edit-Validate rule. Please check you access for that.
If you are facing any errors after you have used Edit-Validate on property, then let us know the error.
Accepted Solution
EPAM Systems, Inc.
ES
I have reviewed the screen-shot, as said by Bhavya it's something related with your access role.
In your access group, under the advanced tab check for the "Rule security mode" dropdown and select "Allow" if not, already configured.
In Deny mode, rules require privileges, and all users must be granted those privileges in order to execute the rules.
I think, your access group doesn't have access role to create the rule or else their is Access Deny configured.
Refer:- Setting role privileges automatically
Coming to your core query, Edit Validate is the best way to implement your use-case.
Hope it answers your query, kindly notify if it does by marking this post as answered/helpful for larger Pega audience.
Regards,
Asif
Areteans Technology Solutions Pvt Ltd
IN
Sir,
I verified the access group tab and found that the rule security mode is already configured to "allow" mode.
Then I once again tried to create an edit validate rule. The problem still persists and it is displaying the same error as in the screen-shot that I attached before.