How can I display part of a Process XMLField in the task notification mail


Badge

Hi,


We generate the mail templates for the task notifications in our workflow system. When we use the templates for a mail event we are able to display with the XmlFieldPart and XPath instructions part of the process XmlField.


When I try to use the same XPath in the Eventbus the mail is not created.


Where can I see the error messages of the Eventbus mail creation?


My code for the source field part:


==========================================


 srcFieldPart = new SourceFieldPart();



srcFieldPart.DataProvider =




"SourceCode.Workflow.Design.XmlFieldPart";


 



srcFieldPart.DataProviderData = "Process,ProcessExtension,/ProcessExtension/Businessobject/Attribute2";




 




 




srcFieldPart.DataType = "System.String";


srcFieldPart.DisplayName =





 



"Project";



srcFieldPart.IsValueType =




false;


srcFieldPart.IsList =



false;


 



sourceFields.Add(new SourceField(srcFieldPart));




 




 




 



==============================================



0 replies

Be the first to reply!

Reply