Try our conversational search powered by Generative AI!

Extending the Sequential Workflow

Vote:
 

My client likes workflow, but wants some simple changes that aren't so simple.

Specifically, they want to modify the email that goes out for approvals in the Sequential Workflow.  They want to add a URL to the page, and the name of the submitter.

I reflected through the code, and by my reading, the email comes from a created task, and the description of that task is set to the description entered in the workflow.  Consequently, there's no way to modify this.  Is my reading correct?

My feeling is that I should probably extend this workflow to create my own, overriding this one method (specifically the static constructor of Sequential Workflow).  Is this the correct, accepted way to do this?  Any tricks or tips I should be aware of?

#52436
Jul 26, 2011 3:10
Vote:
 

Mark Everard has a great series on developing custom workflows:

http://www.markeverard.com/blog/2010/09/29/developing-a-custom-workflow-in-episerver-part-one/

Definitely worth a read as part 3 specifically mentions emailing users.

#52447
Jul 26, 2011 16:57
Vote:
 

EPiServer's SequentialApproval class is sealed.  Wonderful.

#52474
Jul 28, 2011 17:00
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.