Bite #7: Triggering Notifications from Workflows

There’s more than one way to send out notifications from a Change or Service Catalog workflow… what’s the best way?

The Possible Methods

  1. Create a workflow “Notification” activity.
  2. Use the “event” activity in a workflow to trigger a notification.
  3. Create a script activity in a workflow, and use the “gs.eventQueue()” function to trigger a notification.

The Preferred Method

In most situations, #2 is the way to go – use an event activity in a workflow to trigger a notification. The reason for this is because it helps keep the upkeep and management of notifications centralized in one part of the tool. Additionally, it allows the text of a notification to be updated and immediately applied to workflow contexts that are already running.

There are some occasions when using the script activity to trigger a notification would be necessary, and that’s a perfectly acceptable method if you’re attempting to fire a workflow on a different table. Otherwise it’s more complicated to upkeep than is necessary.

Categories: Developers, Scripting Tips

Tags: , , , , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: