Servicenow-workflow-api -

Developers use these methods within Script Includes or Business Rules to automate workflow behavior:

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

: Adding a "Restart Workflow" button on a form that uses script to cancel and re-trigger a process. Best Practices Developers use these methods within Script Includes or

: Triggers a specific workflow. workflowId : The sys_id of the workflow definition. current : The GlideRecord the workflow will run against. servicenow-workflow-api

: When triggering workflows via API, consider using Asynchronous triggers to prevent UI lag for the end-user. REST API trigger - ServiceNow