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)
workflow invoked via custom menu item
mogoo
To invoke a workflow via a custom menu item, I'm guessing you call on iwwft_instantiator.cgi???...
So, in iw.cfg, do I need to call a custom cgi which then calls iwwft_instantiator.cgi and passes the name of the wft, or is there any way to call iwwft_instantiator.cgi and pass the wft directly from iw.cfg?
(TSv5.0, Solaris)
Find more posts tagged with
Comments
mgal
You have to have a script called in iw.cfg and from that script you can call iwwft_instantiator.cgi. Not only the workflow name you have to pass other post parameters too.
An ex:
<FORM method="POST" action="
http://calypso/iw-bin/iwwft_instantiator.cgi
">
<input type='hidden' name='iw_first_time' value='true'/>
<input type='hidden' name='iw_desc' value=''/>
<input type='hidden' name='iw_use_defaults' value='false'/>
<input type='hidden' name='iw_session' value='NotUsed_anymore'/>
<input type='hidden' name='iw_home' value='/usr/iw-home'/>
<input type='hidden' name='iw_branch' value='/default/main/support'/>
<input type='hidden' name='iw_role' value='editor'/>
<input type='hidden' name='comment' value=''/>
<input type='hidden' name='session' value='52616e646f6d49566567e914dc3f98b3729be703dfd96e29ff1b482e63d49feac99ccb0d03aeccaf7e8b1243cfb3d6e943f4be9b33548722'/>
<input type='hidden' name='iw_template_name' value='Oasis'/>
<input type='hidden' name='comment' value=''/>
<input type='hidden' name='iw_workarea' value='/default/main/support/WORKAREA/1'/>
<input type='hidden' name="iw_template_file" value=""/>
session string can be a constant number.
akshathp
Or else, you could compute the parameters for iwwft_instantiator.cgi and have a page redirect to iwwft_instantiator.cgi with query string of all parameters.
http://tsserver/iw-bin/iwwft_instantiator.cgi?&iw_branch=/default/main.......
.
In this query string you would need name/value pairs for all the parameters that mgal mentioned.
Hope this helps.
-Akshat
Akshat Pramod Sharma
Interwoven Inc.