spacer
cornerspacercorner
Reply
Advisor
SundeepD
Posts: 25
Registered: 08-19-2011
0 Kudos

How to load a Mail Template with Dynamic Process Variables

Hi,

 

I need to send a mail with a particular template where i need to mention the Field values. This needs to be dynamic and independent to each case.

 

Could any one suggest me how to do this in Metastorm 9.0

 

Thanks and Regards

Sundeep

Employee
Ethan Beisher
Posts: 378
Registered: 05-10-2010
0 Kudos

Re: How to load a Mail Template with Dynamic Process Variables

You can build the templates in various places.

 

The easiest development-wise would be to create some hard-coded templates in the Solution itself. You can have pre-configured Mail Templates (i.e., several calculated Memo Fields) that concatenate a bunch of strings including your variables. 

 

A slightly more complicated buy dynamic way would be to store the contents of the e-mail in a place you can alter at run time such as a database table or a file. You can create a Metastorm form to allow the user to manipulate these templates. These templates would have special codes in them (e.g., #INVOICE_NUMBER#). When sending the e-mail, you can use C# code (e.g., string.Format()) to dynamically populate the field values. This will require some training of the users to know which variables will be available.

 

Ethan Beisher
Solutions Engineer
Business Process Solutions
line spacer line
spacerFollow Metastorm on:
spacer Twitter YouTube Blog iTunes LinkedIn Metastorm Community Central, MC2
spacer Copyright © 2011 OpenText Corporation. All Rights Reserved.spacer About Metastormspacer Privacyspacer Legalspacer Site Mapspacer RSSspacer Contact Us
Microsoft Gold Certified Partner
Powered by Windows Azure
line spacer line