Creating a custom action using workflow

Workflows ensure that items move through a predefined set of states before they become publishable. Sometimes, to meet business requirements, we might need to add or modify states, commands, or their respective actions.

Sitecore provides an e-mail action command that uses predefined parameters such as sender, recipient, and so on to send e-mails, which is not a practical way while working with multiple editors and reviewers. In real life, business users demand that when the reviewer rejects the changes done by the editor, an e-mail should be sent to the editor who did the changes with information regarding the item along with the reviewer's comments. In this recipe, we will achieve this requirement by creating ...

Get Sitecore Cookbook for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.