March 2017
Beginner
358 pages
9h 51m
English
The Wait for Condition workflow activity allows you to specify either a simple condition (using the condition builder), or a script. Unlike a normal javascript function (but similar to many similar script fields in ServiceNow, the aim of this script is not to return anything, but to set a pre-defined variable (called answer) to either true or false. You can do just about anything you can do in any server-side script, but whatever that variable is set to after the script finishes running, will be the result:

One thing to keep in mind about the Wait for Condition workflow activity, is that it is only (re-)evaluated when the ...
Read now
Unlock full access