Run ServiceNow Workflow icon

Run ServiceNow Workflow

Runs a ServiceNow workflow and returns the output

Run ServiceNow Workflow

AI-generated

Summary

The operation runs a ServiceNow workflow via POST to the ServiceNow API, passing scope, workflow, quick, runAsync, debug, and input parameters. It returns the API response as the item's json field. When debug is enabled, the response includes a debugInfo object containing the request body.

Inputs

  • scope (required) — Choose a scope. List is cached for 30 minutes.
  • workflow (required) — The name of the workflow to start. List is cached for 5 minutes.
  • quick (required) — Whether to run with quick mode enabled. Running with quick mode will not return status or logs.
  • runAsync (required) — Whether to run with async mode enabled. Running in async mode will only return the context ID of the workflow.
  • debug (required) — Whether to include additional information in the response to help with debugging
  • inputs (required) — Input Parameters

Output shape

main

Each input item is processed; the API response is assigned to the item's json field. Errors continue or throw based on node configuration.

Links

Discussion