Home      Members   Calendar   Who's On

Welcome Guest ( Login | Register )
      

Home » BPM.NET 2007/Sharepoint Accelerator 2007 » BPM.NET 2007/Sharepoint Accelerator 2007 » Application Development » Notification email


Notification emailExpand / Collapse
Author
Message
Posted Friday, April 17, 2009
Senior Member

Senior MemberSenior MemberSenior MemberSenior MemberSenior MemberSenior MemberSenior MemberSenior Member

Group: Forum Members
Last Login: Sunday, May 03, 2009
Posts: 7, Visits: 14
Hi,

I have a workflow, wherein for certain tasks there is a notification content section which will send email notifications during workflow execution. I would like to set a standard text by default in the notification template. that  is i dont want to go to each and every task...go to notification content and include the default text in the Body content. I want to set a constant just like variable and its value to the text i wish to keep in every email template. and refer that variable in all the tasks where notification content is available. How do i define that constant? can you help?

Post #1284
Posted Friday, April 17, 2009
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Thursday, November 19, 2009
Posts: 21, Visits: 34
Hi,

As per your requirement, we understand that you want to define the content for a notification like subject or notes in one place and refer the same in all the actions notification contents rather than typing the same in each and every action.  For this you may define a variable of type string in the start action.  Then you need to use the update variable action to update this variable with the text that you want to display in each and every action's subject or notes part.  Then in the respective action's subject or notes property, you can add this variable to display the content.

Regards,

Arvind.

Arvind

Post #1285
Posted Monday, April 20, 2009
Senior Member

Senior MemberSenior MemberSenior MemberSenior MemberSenior MemberSenior MemberSenior MemberSenior Member

Group: Forum Members
Last Login: Sunday, May 03, 2009
Posts: 7, Visits: 14
Hi Aravind,

thanks for your reply. I had done the smae thing...i had defined a variable called "default_text" as string in the start activity. Then i included "Update Variable" activity in the workflow and updated the "Set avriable" property to the text which i wish to refer in all the other tasks activity (<#%...but when i tested it ...it did not work...i did not get that text there,.

even if i place the text in set variable property...it does not add it there...can you help?

Post #1288
Posted Monday, April 20, 2009
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Forum Members
Last Login: Thursday, November 19, 2009
Posts: 21, Visits: 34
Hi,

Check for the value that is stored in the variable by writing a console application with the below code on a button click event...

string var1 = Workflow.NET.Engine.Context.GetContext(<replace with executionid>, "<replace with application name>").Variables["<replace with variable name>"].Value.ToString();

MessageBox.Show(var1);

Regards,

Arvind.



Arvind
Post #1290
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
-
Active Users: 1 (1 guest, 0 members, 0 anonymous members)
No members currently viewing this topic.

All times are GMT -5:00, Time now is 11:47am

 
Execution: 0.281.14 queries.Compression Enabled.

Copyright © 2002 - 2009 Skelta Software. All rights reserved. Tel: 1 (678) 306 4110 | Email:sales@skelta.com
Skelta - A BPM Workflow Software Company