Forum Discussion
AdamKrzyzanek
Qrew Captain
Shane, formula IF is evaluating statements from top and stops execute if statement = True.
In your case if you have this statement as one, it finds first TRUE, execute it and drop.
{% if a.dba != a.$prev.dba %}
If you want to evaluate other part of IF, it needs to be separate to different steps in your Pipeline.
------------------------------
Adam Krzyzanek
------------------------------
ShaneMiller1
2 years agoQrew Cadet
Hey Adam,
Thank you for responding.
The only odd thing is, I don't think what you say is 100% accurate. As stated in my original post, when I did only two "if statements", and changed dba and tax ID, it did in fact run through both of if statements and executed the "then" line of code for both. That's where I am confused.
It seems to be that it only stops evaluating if statements if one of them is false? Is there any documentation to back up what you have stated?
------------------------------
Shane Miller
------------------------------