- Sayantan Basu
Workflow Reference For Tridion

What & Why
What is Workflow Reference For Tridion ?
This is an workflow application with some generic functionality using which you can achieve most of the common requirements from client regarding workflow.
Why It is Useful
Accelerate the Workflow Implementation in Project
Easily Customizable
Re usability
Flexibility
Background Scenario: In my recent project , one day my client approached me and asked to provide a demo of workflow in SDL Tridion all of a sudden on the very next day. It was really very tough to set up all the functionalities from scratch within such a short span. At that moment I realized that if I could create a generic workflow application then it would help me in future for other project as well. This is the background scenario of this application.
Final Workflow Diagram

Inside The Application
Visio Diagram

.NET Assembly
TridionWorkflow.dll
Configuration File for .NET Assembly
WorkFlow.config
XSLT Files for Email Notification
EmailNotifierXslt Content Approval.xslt
EmailNotifierXslt Approved Content.xslt
EmailNotifierXslt Reject Content.xslt
.NET Assembly contains
BundlePublishToLive.cs – To Publish Bundle in Live Instance
BundlePublishToPreview.cs – To Publish Bundle in Preview Instance
PublishToLive.cs – To Publish Components/Pages in Live Instance
PublishToPreview.cs – To Publish Components/Pages in Preview Instance
SendMail.cs – To Send Mail Notification to certain group
RejectContent.cs – To send back the content to creator/Editor i) Trigger Mail to him/her (Optional) ii) Undo Publish Transaction (Optional)
ExpirationScript.cs – To send the activity to the next level i) Send Mail Notification to the assigned group( In Progress)
Configuration File has the information of
Target Type Configuration
Preview Publication Target
Live Publication Target
Mail Message Configuration
Mail From
Mail Subject
MessageBodyXslt (Approver/Publisher/Rejected Content)
Mail To (Approver/Publisher/Rejected Content)
SMTP Server Configuration
Mail Server
Domain Name
Mail Server Authentication ID/Password
General Settings
Published To Preview (true/false)
Mail Send Option on Content Rejected (true/false)
Publish to Publication Id Configuration (all/Particular Publication)
XSLT Files for Email Notification

How to Install
You will find the project in GitHub –
https://github.com/justsayantan/Workflow-Reference-For-Tridion.git
Steps –
Create a TBB and upload the .NET Assembly to it. (Note down the tcm id of that TBB).
Open The .vdx file in Visio and Edit the external script for Automatic Activity –
Replace the Tcm Id with the updated one and Save it in the Tridion CMS.

Open The Workflow.config file and update the configuration.
Copy and paste the updated config file under the “<Tridion Home>\config\” folder.
Copy and paste the Email Templates folder under the “<Tridion Home>\config\templates\”
Summary :
Hope it will be useful for you guys as well. Here I have shared the Application folder in Github as of now, here is the source code so you can download and customize the code as per your requirement. Parallelly I am creating this project for SDL Web 8. Once Done I will share that project as well.
The goal of sharing this idea is to get more suggestion from your end, so that I can scale up this application for a larger audience. Thanks and Keep checking my blogs for future update.