Hi There,
I am trying to use the following options in the tpl to get the comments of a task to print it the email, but its printing all comments with the successor description as the last comment.
My requirement is to print the last comment that user enter in the task before triggering the email notification.
my $last_comment = (
@comments ? $comments[$#comments] : undef);
my $list="reverse iwpt_dcr_list('dcr.workflowinformation.task[0].comments.comment')
Any clue to get the latest comment on the task?
Regards,