Run ServiceNow Action icon

Run ServiceNow Action

Runs a ServiceNow action and returns the output

Run ServiceNow Action

AI-generated

Summary

Runs a ServiceNow action and returns the API response

Inputs

  • main (required) — Main input flow item
  • main (required) — Output flow item carrying the ServiceNow API response
  • scope (required) — Choose from the list, or specify an ID using an expression
  • action (required) — The name of the action to start. Choose from the list, or specify an ID using an expression.
  • quick (required) — Whether to run with quick mode enabled. Running with quick mode will not return status or logs.
  • debug (required) — Whether to include additional information in the response to help with debugging
  • inputs (required) — Input parameters for the action, loaded via getInputsByAction per the selected action.

Output shape

item.json carries the full ServiceNow API response object; when debug is true, result.debugInfo.requestBody is appended

Error handling: if continueOnFail is enabled, a paired item with error and original input json is pushed; otherwise the error is thrown as NodeOperationError

Links

Discussion