Define Functions

  • Each function definition begins with the function name followed by a colon
  • Then the function keyword and parentheses
  • Function arguments/parameters may be added inside the parentheses as per any function definition
  • Write the script to execute between the curly braces

Functions are separated by commas.

Type is for allowing any developer using your Script Include to identify the type of object it is.
Search Community for more information on the topic, quite a few blog articles have been written by ServiceNow experts on this advanced subject.

results matching ""

    No results matching ""