I developed and multi step Process and, when checking it into Team Explorer, it got dropped. I have the XML for the process and I need to get it into a replacement process. How do I do it?
Tags:
You can just copy the xml file into the processes folder of the Neuron solution. Open ESB Explorer and navigate to Processes - you should see it there.
Thanks.
On a side note: Can I create an email body text in a C# Process Step and add it to my SMTP adapter. If so, how?
Such as:
string mailbody = "The attached file contains the missing USFoods items.\r\n\r\n"; mailbody = mailbody + "The format of the file is: 05/18/2015,2786689,SAUCE HOLNDAIS PLST JUG,,\r\n";
mailbody = mailbody + "The first field is the Invoice Date\r\n"; mailbody = mailbody + "The second field is the PLU\r\n";
mailbody = mailbody + "The third field is the Description\r\n";
mailbody = mailbody + "The fourth field is for the Lawson Account Number\r\n";
mailbody = mailbody + "The fifth field is for the Lawson Sub Account\r\n\r\n"; mailbody = mailbody + "Please place the apporpriate Lawson Account Number after the third comma:\r\n"; mailbody = mailbody + " 05/18/2015,2786689,SAUCE HOLNDAIS PLST JUG,620004,\r\n\r\n";
mailbody = mailbody + "If a Lawson Sub Account is needed, place it after the last comma, otherwise leave it blank.\r\n";
mailbody = mailbody + " 05/18/2015,2786689,SAUCE HOLNDAIS PLST JUG,620004,0001\r\n\r\n";
context.Data.SetProperty("smtp", "Body", mailbody);
Yes you can. In the adapter endpoint properties for the SMTP adapter, set the property "Message as Attachment" to false. This tells the adapter to take the ESBMessage.Body contents and use them as the body of the email. If you want to be fancy, you can set the ESBMessage.Body to some html content in a C# step. Then you would also set the adapter endpoint property Body Format = True, so that it treats the html correctly.
Thanks you very much, sir.
Neuron ESB Product Support Forums and Communities
© 2024 Created by Neuron Admin. Powered by