Tuesday 12 February 2013

Insert dynamic table in email body using nintex workflow 2010

 

 Following are the steps:-
1. At first take one "Query List" ,  query all the data according to sort function and store it in collection Var.
2. then take one "For Each" configuation it.
3. then take one "Set Variable" for storing the current item value (Like varProject_name=Project Name).
4. then take one "Build String" configuration it. like..
      <#tr><#td>varProject_name<#/td><#/tr>{workflow:MailBody}
      -MailBody is multiple line textbox.
5. After completed the For Each loop, then Add one "Build String" control.
      <#table><#tr><#td>Project Name<#/td><#/tr>{workflow:MailBody}   <#/table>
6. then take one "Send Notification" control, add in email body {workflow:MailBody}.
7. Save and Publish it.