2 Replies Latest reply on Jan 17, 2018 12:15 PM by mpartridge RSS
    mpartridge Newbie

    How to create a else statement if Key Does not exist



    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?