cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

We are happy to announce the new Windchill Customization board! Learn more.

Email Task Notification Customizations

dschultz
6-Contributor

Email Task Notification Customizations

Add ability to customize task notification emails.

More than...

  • The handful of additional calls that can be added to the subject/body an message per the Help (Workflow EMail Notifications - activityAttributes, activity NotificationUrl and getDeadline).
  • Or the suggestion of using Email Robots or Expression Robots that require updates to all workflows and does not work for previously started processes.

It seems as if modifying the General.html (and locale) and registering a custom template processor is not a supported customization because it impacts all emails. 

2 REPLIES 2

Thumbs up.

I believe that as of at least 10.2 M030, some of the relevant workflow-notification-related calls are still hardcoded and non-overridable, making them very difficult to get to through standard service property modifications, class/method extensions/overrides, etc.

As you said, I think you can still get what you want by:

  • Creating the necessary templates along with their required property additions and new classes, and
  • Customizing the OOTB templates (e.g. General_<locale>.html) so that they invoke processSubTemplate against your newly created custom templates.

Your custom template processor class should have access to the related wfobjects/business objects/etc, so it would then be up to you as to how your new class would implement the business logic you need.  Your invocation against your own template processor doesn't necessarily require that you write anything to the OutputStream.

All that being said, it looks like the template processor stuff is being phased out anyways.  Its documentation has definitely become scarce.

Hi!

 

Did a solution pop up during the last 6,5 years?

Top Tags