Close
Thank you for your feedback.

Workflow activities reference

Workflow activities reference

Workflow activity reference, organized by category.

Each activity performs a different task, such as running a script, sending notifications, or requesting approvals.

Approval and rollback activities

Approval and rollback activities generate and manage approvals. Not all workflows can include approval activities. For more information, read Approval and rollback workflow activities.

Table 1. Approval and rollback activities
ActivityDescription
Approval Action workflow activityThe Approval Action activity performs an approval action on the current task.
Approval Coordinator workflow activityThe Approval Coordinator activity creates an approval whose outcome depends on the outcome of one or more child activities, including one or more Approval - User, Approval - Group, and/or Manual Approval activities.
Approval - Group workflow activityThe Approval - Group activity creates approval records for each member of a specified group.
Approval - User workflow activityThe Approval - User activity creates one or more individual user approvals.
Generate workflow activityThe Generate activity immediately creates task or approval records from any task or approval activities placed after the Generate activity in the workflow path.
Manual Approvals workflow activityThe Manual Approvals activity watches and manages any approvals that users add manually outside of the workflow process.
Rollback To workflow activityThe Rollback To activity transitions directly to the activity specified by the outgoing transition line arrow.

Condition activities

Condition activities provide conditional branching and logical operations for workflows.

Table 2. Condition activities
ActivityDescription
If workflow activityThe If activity checks a condition or script to determine if a Yes or No transition should be taken.
Switch workflow activityThe Switch activity checks if the value of a passed field or variable is equivalent to one of several case values.
Wait for condition workflow activityThe Wait for condition activity causes the workflow to wait at this activity until the current record matches the specified condition.
Wait for WF Event workflow activityThe Wait for WF Event activity causes the workflow to wait at this activity until the specified event is fired.

Notify activities

Notify activities manage calls and SMS messages in Notify.

Table 3. Notify activities
ActivityDescription
Forward call workflow activityThe Forward Call activity forwards a Notify call to an E.164-compliant phone number.
Input workflow activityThe Input activity creates a phone menu by presenting a list of options on a Notify call.
Hangup workflow activityThe Hangup activity disconnects an active Notify phone call.
Play workflow activityThe Play activity plays a sound file on a Notify call.
Record workflow activityThe Record workflow activity records audio from a user on a Notify call.
Reject workflowThe Reject workflow activity rejects an incoming Notify call.
Say workflow activityThe Say activity plays a message, using text-to-speech, on a Notify call.
Forward to notify client workflow activityThe Forward to Notify Client workflow activity connects a phone call to a Notify WebRTC client.
Call workflow activityThe Call activity makes outbound phone calls using a Notify workflow.
Join conference call workflow activityThe Join Conference Call connects an incoming or outgoing call to a Notify conference call.
Send SMS workflow activityThe Send SMS activity sends short text messages to users' phones using Notify.
Queue workflow activityThe Queue activity places an active Notify call in a queue.

Notification activities

Notification workflow activities notify users of events that occur during the workflow.

Table 4. Notification activities
ActivityDescription
Create Event workflow activityThe Create Event activity adds an event to the event queue, but does not immediately fire the event.
Notification workflow activityThe Notification activity sends an email or SMS message to specified users or groups.

Timer activities

Timer activities pause workflows for set periods of time.

Table 5. Timer activities
ActivityDescription
SLA Percentage Timer workflow activityThe SLA Percentage Timer activity pauses the workflow for a duration equal to a percentage of an SLA.
Timer workflow activityThe Timer activity pauses the workflow for a specified period of time.

Task activities

Task activities create and modify workflow tasks.

Table 6. Task activities
ActivityDescription
Add Worknote workflow activityThe Add Worknote activity adds text to the Worknotes field of the current incident record.
Attachment Note workflow activityThe Attachment Note activity adds an attachment to the current record.
Catalog Task workflow activityThe Catalog Task activity creates a service catalog task record.
Create Task workflow activityThe Create Task activity generates a record on any of the tables that extend Task [task].

Utility activities

Utility activities provide controls over the path of the workflow, and other useful tools.

Table 7. Utility activities
ActivityDescription
Branch workflow activityThe Branch activity splits the workflow into multiple transition paths from a single activity.
Join workflow activityThe Join activity unites multiple execution paths into one transition.
Lock workflow activityThe Lock activity prevents other instances of this workflow from continuing past this activity until the lock is released.
Log Message workflow activityThe Log Message activity writes a message to the workflow log.
Log Trace workflow MessageThe Log Trace Message activity writes a trace message to the workflow log.
REST Message workflow activityThe REST Message activity enables an administrator to override the REST endpoint or supply the variables configured in the REST Message module.
Return Value workflow activityThe Return Value activity returns a value to a parent workflow, when run from a subflow.
Run Script workflow activityThe Run Script activity runs the specified script in the scope of the workflow version.
Set Values workflow activityThe Set Values activity sets values on the current record.
Turnstile workflow activityThe Turnstile activity limits how many times a workflow can pass through the same point.
Unlock workflow activityThe Unlock activity releases a lock that was previously placed by the Lock activity.

Subflow activities

Subflow activities run and manage workflows from a parent workflow.

Table 8. Subflow activities
ActivityDescription
Parallel Flow Launcher workflow activityThe Parallel Flow Launcher activity launches multiple subflows in parallel.

Activities provided with Orchestration

The following activities are included with Orchestration.

  • Active Directory activity pack
  • Orchestration activities
  • PowerShell activities
  • Puppet activities

Templates provided for creating custom activities

If Orchestration is active on your system, users with the proper roles can create custom activities using the ServiceNow . For information about the templates Orchestration provides for creating custom activities that you can upload to the ServiceNow Store, see

Products > ServiceNow Platform > Workflow; Versions > Helsinki