: Programmatically starting workflows for a batch of records after an import.

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

: Used to access definitions and configurations of specific workflows.

: Adding a "Restart Workflow" button on a form that uses script to cancel and re-trigger a process. Best Practices

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

: Manages the runtime state and execution details of a specific workflow instance. Key API Methods

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