Servicenow-workflow-api May 2026
The is a collection of server-side classes and methods used to programmatically interact with workflows on the ServiceNow platform. While modern automation often utilizes Flow Designer , the legacy Workflow API remains essential for managing complex, multi-state processes in older applications. Core Components
: Triggers a specific workflow. workflowId : The sys_id of the workflow definition. current : The GlideRecord the workflow will run against. servicenow-workflow-api
: Adding a "Restart Workflow" button on a form that uses script to cancel and re-trigger a process. Best Practices The is a collection of server-side classes and