Servicenow-workflow-api 【2026 Release】

: For new development, ServiceNow recommends Flow Designer over legacy workflows for better performance and a no-code experience.

: 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 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 servicenow-workflow-api

: A critical GlideRecord method that determines if database actions should trigger associated business rules and workflows. Common Use Cases

The API primarily revolves around three key server-side classes: : For new development, ServiceNow recommends Flow Designer

: Used to access definitions and configurations of specific workflows.

: Triggering a workflow via an Inbound REST API call to automate fulfillment when an external system creates a record. While modern automation often utilizes Flow Designer ,

: The main class used to initiate and manage workflow instances.