We have the need to store multiple comments on a form along with the entry date and user who entered the comment. If the user clicks a custom action button such as "update customer" we would like for the last comment entered to be sent via an email task.
Our first thought was to use a collection to store the comments and use Java? to retrieve the last comment during the submit action from the collection and copy then to a hidden comment variable used in the email. Our second thought is to use two milt-line fields and append the "current" comments to the historical comments and use the "current" comments in the email task.
Has anyone done anything similar to this?
I would appreciate and comments/guidance on how to achieve this.
Thanks