Please use docs.servicenow.com for the latest documentation.

This site is for reference purposes only and may not be accurate for the latest ServiceNow version

Workflow Script Includes Reference

From Wiki Archive
Jump to: navigation, search

Overview

This page provides reference information on the Workflow script includes. For general information on how to use script includes, see Script Includes. For information on how to use Workflow script includes, see Workflow Use Case.


Script Include Description
DurationCalculator Provides functions to indicate something is due.
WalkWorkflow Walks the workflow and gets the list of successors for each activity along with a shortest path order that indicates the activity depth in the workflow.
WFActivityHandler Activity handler for workflow activity definitions.
Workflow Script Interface for the workflow engine.
WorkflowApprovalUtils Workflow approval support utilities.
WorkflowDuration Calculates the duration of a workflow activity.
WorkflowIcons Assists in the generation of the workflow icons. This script include and all of its methods are for internal use only and should not be called from client code.
WorkflowIconsSCR Service Catalog Request Workflow Icons. This script include and all of its methods are for internal use only and should not be called from client code.
WorkflowIconsStages Workflow Icons created from the stages of a workflow. This script include and all of its methods are for internal use only and should not be called from client code.
WorkflowModelManager Provides a way to query the workflow model, to step backwards and forwards between specified wf_history items and to query the history for activity and transition specific information.
WorkflowModelManagerAjax AjaxProcessor wrapper for the WorkflowModelManager.
WorkflowScheduler Code executed by workflow scheduler.
WorkflowStages Return the list of workflow stages for a Request Item as a choice list.
WorkflowStates This script include is not currently used.
WorkflowTimeline Schedule page script include that generates a view that shows a workflow context on the timeline.