Servicenow-workflow-api
The API primarily revolves around three key server-side classes:
: Triggers a specific workflow. workflowId : The sys_id of the workflow definition. current : The GlideRecord the workflow will run against.
: Used to access definitions and configurations of specific workflows. servicenow-workflow-api
: When triggering workflows via API, consider using Asynchronous triggers to prevent UI lag for the end-user. REST API trigger - ServiceNow
: Manages the runtime state and execution details of a specific workflow instance. Key API Methods The API primarily revolves around three key server-side
: Sends a signal to a running workflow to trigger a specific activity or transition.
: A critical GlideRecord method that determines if database actions should trigger associated business rules and workflows. Common Use Cases : Used to access definitions and configurations of
vars : An optional object to pass input variables into the workflow.