The workflow system is sending a link to /iw/webdesk/transitiontask in email messages to allow users to approve, reject, cancel job, etc. I would like to do two things with this. First, I want to make the transition comment mandatory. Second, I want to default the selected option in the drop-down list, so that in the email I could say "click here to approve" and "click here to reject". Is either of these possible?
I have already written a JSP to replace taketask with logic that ensures the task is active, provides better error messages, locks all of the files associated with the task to the user who takes ownership, does not give the blank window that taketask gives on success but provides a link to approve or reject, and optionally redirects to another page (so if they click the edit link in the email message, it actually takes ownership, locks the files to them, and redirects to the edit page - it still gives the blank window that the edit CCI creates, but I'm working on that too). The problem with transitiontask is that if the jsp calls the command line tools to transition the task, since the application server process is not running as the user who is transitioing the task in the browser, the transition comment will get associated with the wrong user (I guess I could use OpenAPI but I haven't really invested in that yet).
Any suggestions?
Edited by john on 01/31/03 05:40 AM (server time).