Problem with variable using IF action in BAS



  • I need an urgent help on how to fix variable issue inside an if action on BAS. USing a variable inside indexOf within an IF action does not work but using the exact text inside indexOF work perfectly

    Fail.PNG
    Using a variable [[TEST_EMAIL]] in the above screenshot makes the if action to fail

    work.PNG
    Using a string directly 'Test Email' within the if action works perfectly. Can anyone help me out pls, have being on this for days now. Thanks



  • @telim2 said in Problem with variable using IF action in BAS:

    I need an urgent help on how to fix variable issue inside an if action on BAS. USing a variable inside indexOf within an IF action does not work but using the exact text inside indexOF work perfectly

    Using a variable [[TEST_EMAIL]] in the above screenshot makes the if action to fail

    Using a string directly 'Test Email' within the if action works perfectly. Can anyone help me out pls, have being on this for days now. Thanks

    Do not enclose the variable in quotation marks


Log in to reply