Servicenow-workflow-api May 2026
: Terminates all active workflow contexts associated with a specific record.
Developers use these methods within Script Includes or Business Rules to automate workflow behavior: servicenow-workflow-api
: Manages the runtime state and execution details of a specific workflow instance. Key API Methods : Terminates all active workflow contexts associated with
vars : An optional object to pass input variables into the workflow. servicenow-workflow-api
: For new development, ServiceNow recommends Flow Designer over legacy workflows for better performance and a no-code experience.
: Always check for existing Workflow Contexts before starting a new one to avoid duplicate executions on the same record.
