Hi There,I have 'Approval' / 'Rejection' successorsets in a User / Group tasks (based on the logic). With the current code, if the Reviewer Approves or Rejects, I just get the Reviewer ID, Date and Time in the comments.How do I give customized comments? like the user name or user group that approvers or rejects the task.If its a external task I can call an ipl to pass the variables accordingly and get the comments in the call back, but with user / group task I do not how to do this.Any help is highly appreciated.Regards,
The users wants to display the fullname / groupname, Approved or Rejected with date and timestamp
Hi Boris,Once the reviewer Approve / Reject, the task transition to next task accordingly. When you open up the next task, you will see the 'Description and Comments' section, I want to display the said items in the 'Comments: [View last comment]' section next or before to the 'Approve / Reject' completed task.Thanks for looking into this.Regards,
when the user hits either 'approver' or 'reject' button, how do you validate if any comments is entered...
Can you let you me know how to capture the previous task comments in a cgi?
use CGI;
use TeamSite::CGI_lite;
$page
do_callback
$page->iwcallback([color=blue]successorset_description, TeamSite::CGI_lite::escape_html_data("$task_user1 - $group_name1 : $action1 : $com_rev");[/color]
Borris and Fish,Yes, I was passing the wrong taskid (typo), I realized only after I posted the question. Now the code works fine from USER task perspective. I am now working on from GROUP task prespective. Will keep you posted.Thanks for your time in providing expert comments on my thread.Regards,
Thanks fish for your tips.I made the group task work by having an external task to change owner before the cgi task.The cgi comments work perfectly in Professional Edition of TeamSite, however in the Standard Edition, the CGI screen is not getting closed. It stays on a dialog box that says close window 'ok' and 'cancel'. If I press 'ok' the TeamSite window gets closed.Any clue?