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)
dynamic wf from a custom menu.
Annad
Hi,
I am trying to initiate a dynamic wf from a drop down custom menu item.
That is, the cgi window that comes up for the custom menu item has to be treated as the wf initation window.
In the dynamic workflow, the first task is a cgi task which requires a window. I wanted to use the window that show up for the custom menu item for this cgi task. However when I invoke the dynamic workflow using the CLT 'iwjobc' it does create the job (and thus the task) but the first CGI task is not activated imediately and so I have to go to my task list to start the task. I don't want the users to have to go to their task list everytime need to use this custom menu item.
Has anyone ever done this type of thing? If so plese help me. This is URGENT for me.
Thanks in advance.
Anna.
Find more posts tagged with
Comments
Adam Stoller
How are you defining the URL for the custom menu item?
Are you using the iw_cgi_wrapper.cgi?
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
Annad
This is how I am doing it.
custom_menu_item_batchEA="File", "Batch Upload (Permission Req)", "HRDC_batch_submit_setEA.ipl", "author, editor, administrator, master", "scrollbars=yes,resizable=yes,width=640,height=545","","500"
-Anna
Adam Stoller
Right - try changing
"HRDC_batch_submit_setEA.ipl"
to
"
iw_cgi_wrapper.cgi/
HRDC_batch_submit_setEA.ipl"
and see if that resolves the problem.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
Dwayne
I'm not sure just using iw_cgi_wrapper is going to make a difference. The CGI code for this handler is using iwjobc directly, so I would think it would have to explicity redirect to the URL to invoke the cgitask handler.
--
Current project: TS 5.5.2/6.1 W2K
Adam Stoller
I'm assuming it's using iwjobc -i, and as long as the person running this via the custom menu item is in the master.uid file, I *think* it might work. Although, if the version of TeamSite is 5.5.2 SP3 or later, then I believe you also have access to iwwft_compile.ipl - although, yes it's still a bit of guesswork as to whether or not it will behave the same way as if you had invoked New Job via the OOTB menus.
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com