Problem with variable using IF action in BAS

Moved Other
  • 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

  • ModeratorM Moderator moved this topic from Off topic on

  • 0 Votes
    6 Posts
    761 Views
  • 0 Votes
    13 Posts
    1491 Views
  • Железо для BAS

    Moved Other
    0 Votes
    8 Posts
    1090 Views
  • 0 Votes
    14 Posts
    1647 Views
  • -2 Votes
    16 Posts
    3825 Views