Email Event with List Method output in Mail Body

  • 13 July 2015
  • 1 reply
  • 0 views

Badge +1

Hi All,

 

I am new to K2 development and need your help for below requirement.

 

I have to add an Email event in the Workflow Activity in which the mail body content should contain the output of a List method as a HTML table.

 

In detail, I need to pass one request id to a smart object list method and the returned resultset which return multiple rows for that id need to be displayed as a table in mail body which will be sent to the workflow originator.

 

Thanks in advance.

 

RKS


1 reply

Userlevel 1
Badge +8

Hi RKS

 

Please see this previous forum post Email Notification with list of data on email body.

 

The XML approach is probably the neatest, but it is a little more complex. Let me know if you need more detailed instructions.

Reply