Failing a Script
Use the fail() method to halt the script and display an error message. If the script is used on a step transition, this method also prevents the step from proceeding to the next screen.
Example expression:
Note that this example also uses the hasValue function (see Handling Non-Existent UDFs/Custom Fields).
Last updated