In certain situations, it may be necessary to terminate the Action logic based on some specific condition. Consider an Action, VerifyAccountInfo, where you are required to incorporate logic to verify essential information in a user's bank account. Let’s say additional verification is required in case the Account Type is “Platinum”, on top of the standard validation. In this case, we could exit out of the Action for all account types other than “Platinum” at the end of standard verification logic.
In the Logic Editor, create a conditional statement to test for Account Type. Hover on the relevant conditional block (if/else-if or else) and select the context menu option “Exit Action on Condition”. This will make sure the Action logic is terminated at the end of the block where the Exit statement is inserted. This flag is a toggle, so you can remove Exit by following the same process, in case required.
Hi.. When can we expect AND and OR implementation for conditional statements?
Please sign in to leave a comment.