Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note that by default Workflow Utility files provide you with the tips on how to create functions.

...

What’s next?

Once you have created a function, you can use it with the help of the Call function node in workflows.

An example is described on the Web service node and APIs page:

  • The Call function node is used for obtaining the authorization details.

  • It uses the wf.itsm.ticket.get_authorization_header function, which returns Session Auth Token.

To use your custom function in a workflow:

1. Create the Call function node.

2. In the Function name field, specify the function.

3. Save the result in a variable, so you can use it in other nodes later on. The variable is defined in the Keep result in variable field.

...