Happy Business Starts Here

Zuora Support

How to use OR/AND within an IF statement in Quotes templates

Problem: How to use OR/AND within an IF statement in Quotes templates 

Solution: Please find below the solution for how you can use OR & AND within an IF Statement in the Quote templates.

 

AND Condition 

{ IF { = { IF "True"="True" 1 0 } + { IF "True"="True" 1 0 } } = 2 "true" "false" }

OR Condition 

{ IF { = { IF "True"="True" 1 0 } + { IF "True"="True" 1 0 } } > 0 "true" "false" }

 






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

2 REPLIES 2
Highlighted
Guru

Re: How to use OR/AND within an IF statement in Quotes templates

@Hina This might be life changing.  Are there any known limitations on how many and/or within an IF statement?  The example below shows 2, but could there be 10?

Zuora Support

Re: How to use OR/AND within an IF statement in Quotes templates

Thanks @ehavens
There are no known limitations for this as this is just a customized way of using AND/OR. I haven't tried this extensively at our end but yes its certainly worth trying. I am going to update this post once I get a chance to test this.

Please feel free to add a comment here if you get to it before me Smiley Happy






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √