Asked By Scott Colestock
11-Jul-07 12:07 PM
Adding the prop schema to your message schema (even with default values)
isn't sufficient to get the behavior you want. For a
MessageContextPropertyBase property, you don't need to add the property
schema to your message schema at all - but you *do* need to set the context
property explicitly either in a pipeline or in an orchestration (e.g.
mymsg(myprop) = "myvalue";)
As a side note, if the email is for operational purposes (health/sickness of
the system itself as opposed to a business user interaction) you might want
to consider just writing to the event log (perhaps with a custom event
source) and using a tool like MOM to send the email. Then you can get alert
consolidation, etc.
Scott Colestock
www.traceofthought.net