I have some email notifications I need to implement. An example is when the profitcenter is updated send an email to x. I have 200+ of these notifications and alot of them are similar so I'm looking at Mail Templates. I want to have a process fire, pick up some attributes and send an email based off an email template. I checked the documentation and couldn't see anywhere to indicate in the SendMail or SendRichMail component to enter the mail template I want to use. How do I configure one of these processes to use a mail template?
As an aside, since I have so many notifications to do, I was thinking of making just one process chain with a process near the top that sets the recipient, sender, mailtemplate, and maybe a few other variables and then use them later in the process chain for the configuration of the SendMail or SendRichMail. I understand that some process components have 'out' attributes and I can see in the ScriptSamples.sln how to reference these, but how do I create my own out attributes from within a process script?
Thanks for any help