2 Replies Latest reply on Sep 11, 2017 12:29 PM by mpartridge RSS
    mpartridge Newbie

    How to create a else statement if Key Does not exist

    Hello,

     

    I created a service that uses GetDataTableEntryByKey to search an infotable, and then depending on another field definition it would create a result true or false. However if the key doesn't exist yet it creates an error saying Key Does Not Exist. What ELSE statement would I use so if the Key is not yet created it would populate a false result? Because if it doesn't exist I want it to be result = false.

     

    Does anybody know the right approach for this?