I have created a template with 2 steps.
1. An activity which runs a BOR method.
2. Send mail.
After executing the activity I want a mail in my inbox.(activity is not background).
Now I need to cal this template in one of my program.
Can some one give me sample code to cal the WF template in my prgm such that i will get a text mail to my inbox. Im not using any events to trigger the WF.