Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Custom Confirmation before task transition
eddie1
My workflow contsists of a typical content review chain where the approver would Accept/Reject updates made by content contributors.
My client wants that the approver should get a confirmation window when he selects 'Reject' option just to make sure that the approver has not accidentally made this selection. The Confirmation window would contain a messege and an 'ok' button to proceed with the 'Reject' action and a 'cancel ' to abort 'Reject'.
After the confirmation window is closed down, the normal task transition window should appear and the rest of the process should happen in the normal way.
Any suggestions on how to achieve this ?
Thanks !
Find more posts tagged with
Comments
Adam Stoller
Have the rejection transition to a cgitask with immediate="t" set - have the cgitask script prompt for confirmation or denial.
On confirmation - proceed along the lines of your existing rejection.
On denial - transition back to the previous review task
--fish
(Interwoven Senior Technical Consultant)
eddie1
Tried as you said and seems this would work for me, but there are still a couple of issues:
1) When i select reject in my review task, the Task Transition window comes up before the Confirmation window. Is there a way by which i can make the task transition window appear only after the users has confirmed Rejection (meaning after having pressed the 'ok' button on the confirmation window) ?
2) Any way to control the width and height of the confirmation window ?
Thanks !
Adam Stoller
Keeping things simple - the answer to question 1 is "no"
If you changed the review task to being a cgitask and had the Reject/Approve options within the CGI script (along with code to allow them to select the file(s) for review and such) - you could do all your prompting there - including for the task transition because the cgitask does not have a separate transition window. But - this gets into much more customized code that needs to be developed/tested/maintained...
The answer to question '2' is - "it depends"
If you are talking about the task transition window - the height / width of the window is not customizable (at least in a supported way, if at all).
If you are talking about the height / width of the CGI window the answer is "yes" - using basic JavaScript code within the CGI script - somewhere after initializing the window to indicate that it will be receiving HTML - insert:
<body onLoad='top.resizeTo(600,500);'>
(change 600 and 500 as you see fit)
--fish
(Interwoven Senior Technical Consultant)