Question
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689989000/6fada5a6-579d-4b8f-9d13-f066667ef102.jpg?itok=0TD-wCSV)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689989000/6fada5a6-579d-4b8f-9d13-f066667ef102.jpg?itok=0TD-wCSV)
Tata Consultancy Services Limited
GB
Last activity: 21 Feb 2017 16:37 EST
How to call a validate rule from another validate rule based on if/when Logic ?
Hi,
Good Evening everyone !
How to call a validate rule from another validate rule based on if/when Logic ?
For a property of type page/list, I am able to call validate rule but couldn't use if/when logic
For a property other than page/list, I am able to use if/when logic but not able to call another validate rule.
I am using Pega 7.1.7.
Appreciate your suggestions!
Regards,
Guhan
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689975000/fc3d4c65-c40f-4370-bfbd-2ce3574ab68b.jpg?itok=KJ93WzBi)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689975000/fc3d4c65-c40f-4370-bfbd-2ce3574ab68b.jpg?itok=KJ93WzBi)
Rules Cube Inc.
CA
Hi Guhanathan,
Can you try using Input Validation in the Input tab of Validation rule,
Steps:
Define one property in input tab of validation rule. Use Label name as same as Property name. (Ex:-Propertyname : IsValid) (Label : IsValid)
Use your property in Validate tab and define your own condition next to precondition.
Thanks
Venkatesh G
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems Inc.
AU
Can the logic not be part of the conditions within the secondary validate rule?
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689989000/6fada5a6-579d-4b8f-9d13-f066667ef102.jpg?itok=0TD-wCSV)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689989000/6fada5a6-579d-4b8f-9d13-f066667ef102.jpg?itok=0TD-wCSV)
Tata Consultancy Services Limited
GB
Hi Joel,
Thanks for your reply!
Secondary validate rule has some 20 validation, I need to include the logic in each 20 validations.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689989000/6fada5a6-579d-4b8f-9d13-f066667ef102.jpg?itok=0TD-wCSV)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689989000/6fada5a6-579d-4b8f-9d13-f066667ef102.jpg?itok=0TD-wCSV)
Tata Consultancy Services Limited
GB
I still didn't get any solution to this problem...
Kindly advice.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689967000/45cccbf4-44fa-46b7-8dec-a247ced5efc0.jpg?itok=h6t7hGkW)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689967000/45cccbf4-44fa-46b7-8dec-a247ced5efc0.jpg?itok=h6t7hGkW)
Truviq Systems
NL
Hi Guhanathan,
Can you please give the conditions in Called validation (Conditionally validating). Or We can call validation on pre-condition basis in activity over loop.
Validation rules can be called for each embedded page of pagelist from another validation rule.
But we don't have option to provide if/when logic while calling.
Thanks for sharing your thoughts.
------- Chaitanya
Accepted Solution
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689975000/fc3d4c65-c40f-4370-bfbd-2ce3574ab68b.jpg?itok=KJ93WzBi)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689975000/fc3d4c65-c40f-4370-bfbd-2ce3574ab68b.jpg?itok=KJ93WzBi)
Rules Cube Inc.
CA
Hi Guhanathan,
Can you try using Input Validation in the Input tab of Validation rule,
Steps:
Define one property in input tab of validation rule. Use Label name as same as Property name. (Ex:-Propertyname : IsValid) (Label : IsValid)
Use your property in Validate tab and define your own condition next to precondition.
Thanks
Venkatesh G
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689989000/6fada5a6-579d-4b8f-9d13-f066667ef102.jpg?itok=0TD-wCSV)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689989000/6fada5a6-579d-4b8f-9d13-f066667ef102.jpg?itok=0TD-wCSV)
Tata Consultancy Services Limited
GB
Dear Venkatesh,
Thanks a lot for your response. Interesting to know this feature
Thanks
Guhan
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Cognizant
US
Hi Team ,
what should be the property type for Input property .
Means , on what basis this validation rule will continue ?
Thanks