Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

Workflow email notification

Vote:
 

Hi,

I have a customer that will implement workflows but are a bit unhappy with the notification emails. Is there a possibility to change the text in the notification emails? without rewriting the basic workflows from scratch?

 

#33551
Oct 15, 2009 15:22
Vote:
 

You can change parts of the message by editing the xml in workflowFoundation_EN.xml (for english).

The code EPiServer uses to print the approvalworkflow looks like this:

activity.Subject = string.Format(Translate(profile2.UserName, "/workflows/approval/approvedevent/pageapproved"), page.PageName);
activity.Body = string.Format(Translate(profile2.UserName, "/workflows/approval/approvedevent/approvedby"), profile.DisplayName);
activity.Body = activity.Body + "\n";
activity.Body = activity.Body + Translate(profile2.UserName, "/workflows/approval/approvedevent/comment") + ":\n";

 Hope that helps you a little on the way. If simply changing the xml doesn't do it I would use the reflector to build a new workflow based on the current one. Good luck

#33596
Oct 16, 2009 10:51
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.