Insights

Module: Enhanced Sitecore Email Workflow Action

New tokens for Sitecore's workflow email notification

Update May 13, 2013: For how to make your own custom workflow action take a look at our Customizing Sitecore's Workflow Email Action post.

Intro

Fishtank is excited to release the Enhanced Email Action to the Sitecore community via Sitecore Marketplace and Github.

In a multi-author Sitecore environment with a centralized approver, the quality of email notifications becomes very important. This library introduces a handful of new tokens for the workflow Email Action and allows developers to easily create their own custom tokens.

Usage

The Enhanced Email Action adds the following tokens:

Tokens Description
$itemSubmittedBy$ User submitting the item
$itemComments$ User comments associated with their action (if not supressed)
$itemPreviewUrl$ Url to view the item preview mode.

These in addition to the standard Sitecore tokens of $itemPath$, $itemLanguage$ & $itemVersion$. Add these tokens as needed to the 'Message' field of the Email Action.

Installation

First make sure your binaries are in the bin directory. Then do the following:

  • Find an existing Email Action in your workflow or navigate to its standard values at /sitecore/templates/System/Workflow/Email Action
  • Change the Type field reference the new library. Fishtank.SharedSource.Workflow.Actions.EnhancedEmailAction, Fishtank.SharedSource
  • Add new tokens to the Email Actions To, From, Subject andMessage fields.

Screenshot of Enhanced Email Action setup

Download

You can download the Enhanced Email Action library from the Sitecore Marketplace and Github. Source and binaries are included. Use it as is or customize it to your liking.

Thanks. Enjoy!

👋 Hey Sitecore Enthusiasts!

Sign up to our bi-weekly newsletter for a bite-sized curation of valuable insight from the Sitecore community.

What’s in it for you?

  • Stay up-to-date with the latest Sitecore news
  • New to Sitecore? Learn tips and tricks to help you navigate this powerful tool
  • Sitecore pro? Expand your skill set and discover troubleshooting tips
  • Browse open careers and opportunities
  • Get a chance to be featured in upcoming editions
  • Learn our secret handshake
  • And more!
Sitecore Snack a newsletter by Fishtank Consulting
 

Meet Dan Cruickshank

President

Dan is the founder of Fishtank. He's a multi-time Sitecore MVP and Coveo MVP award winner. Outside of technology, he is widely considered to be a top 3 father (routinely receiving "Father of the Year" accolades from his family) and past his prime on the basketball court.

Connect with Dan