Skip to main content

Hi,

 

I need to create comments on a form that will be passed to the new workflow started.

 

I've created a smartObject to save comments on a form. I've used the FQN and the currentDate to make them unique.

 

I've been able to create comments on the workflow when first step of a workflow opens my form, but unfortunatelly this doesn't solve my problem, because comments can't be created if that workflow goes to different steps without opening the form. It has also another problem, comments won't be created at the same moment that were created on the form.

 

I've tried to create a composite smartObject to get the specifics comments of my form and create them on the workflow but I don't know the reason why it is not working.

 

Please, could you give me any key to solve this problem?

 

I will need to do this with attachments too

 

Thanks a lot

 

Hi,


 


I am not sure if I understand your requirments, have you tried to follow the steps in the documentation below?


 


https://help.k2.com/onlinehelp/k2appit/userguide/current/default.htm#How_Tos/Use_the_Workflow_Comment_and_Workflow_Attachment_SmartObjects/How_to_use_Comments_and_Attachments.htm


 


Aljica,

 Add a column to your comments smartobject called P_ID. This will capture the ID from the main entry form. You can then map the comments back to the main form using the process ID. I made a post on how to make multiple attachments on a form and call them for the process that it belongs to. I will share the link here. It is the same concept. I will make a post laster today on how to create a clean comments section for a form.

 

http://community.k2.com/t5/K2-blackpearl/Clean-easy-way-to-add-multiple-attachments-to-a-process/m-p/98352#M32259 

 

Thanks,

Bryan Peters


Thanks a lot for your help but I did it another way.

On my form after creating workflow step I recovered the workflow Id and I called an unbound rule to create workflow comments.

 

 

 

 






Reply