Servicenow-workflow-api -
: Programmatically starting workflows for a batch of records after an import.
The API primarily revolves around three key server-side classes: servicenow-workflow-api
: The main class used to initiate and manage workflow instances. : Programmatically starting workflows for a batch of
: Always check for existing Workflow Contexts before starting a new one to avoid duplicate executions on the same record. 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 a specific record.
: A critical GlideRecord method that determines if database actions should trigger associated business rules and workflows. Common Use Cases