Skip to main content

Hello All,

 

Many thanks for this wonderful group for helping me with answers to all my questions.

 

I have created custom task form using the link below which is very helpful.

 

https://community.k2.com/t5/K2-blackpearl/Create-new-task-approval-form/m-p/102479#M34081

 

Please could you let me know how to capture the approver comments as well from each of the approvers?

 

Regards,

 

S

Hi tssivakumar,


 


You will have to add a textbox on your approver view (Multi-Line) and on the Submit you will have to write the comments to a SmartObject.


 


My suggestion here would be to create a SmartObject as follows:


Name: MyWorkflowComments


 


Fields:


ID (Autonumber)


Comment (Memo)


ExpenseID (Number)     **NOTE: This field name should be something to identify the current Process, in case of a Leave Request you will make this a LeaveRequestID, etc


SubmittedBy (Text)


SubmittedDate (DateTime)


 


Then on the Submit Rule, before you action your workflow, run the SmartObject Create method and set the following values:


 


ID: No value - This is autonumber


Comment: The Comment text box


ExpenseID: This is the field to identify the current process or item


SubmittedBy: The current user that submitted the comment


SubmittedDate: Current Date and Time


 


-Jean


Reply