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)
How to start workflows by the command line?
tba
Hi,
Does anybody know how to start a workflow by the command line?
Thomas Baltazar
Find more posts tagged with
Comments
lucifer
Use iwjobc command given by the teamsite to invoke the work flow. refer work flow developer guide for more info
tba
Thanks, that works it creates a workflow but its not displayed in the normal environment.
The Original idea is to able to start workflows from a cgi script were the user chooses which workflow he wants to start, with this I will be able to around the problem of author's not being able to start workflows.
lucifer
After invoking the workflow if you are not getting task options combo then reuse iwjobc with -i option or use iwinvokejob command after you use iwjobc. i think this will work. you can try either of the two methods.
akshathp
If you want a CGI driven environment for invoking the workflow then use iwwft_instantiator.cgi
What you could do is http into this cgi and pass the arguments as query string for all the variables that it requires. Like: iw_user, iw_workarea, etc. You will also need to pass the name and location of your wft file.
In short, what you could do is have a custom CGI which has HREFs for various workflows that you have.
Hope this helps.
Akshat Pramod Sharma
Interwoven Inc.
Migrateduser
Could you possibly provide a detailed example of what you just suggested?
Dave Smith
Sr. Software Engineer
Nike, Inc.
(503) 671-4238
DavidH.Smith@nike.com
akshathp
I was suggesting that one could make an http call into iwwft_instantiator.cgi
http://tsserver.domainname.com/iw/webdesk/login/iw-bin/iwwft_instantiator.cgi?Article_ID=&iw_branch=/default/main/branchname&iw_first_time=true&iw_home=/iw-home&iw_role=editor&iw_session=NotUsed_anymore&iw_template_file=default/workflow_template.wft&iw_template_name=WorkflowHeading&iw_use_defaults=false&iw_user=username&iw_workarea=/default/main/branchname/WORKAREA/workareaname&iw_file=/default/main/branchname/WORKAREA/workareaname/folder/sub-folder/file.html&user=username&domain=domainname&role=Editor
The above example if true for one file. However, within the CGI small perl code can make it work for multiple files too.
Hope this helps.
Akshat Pramod Sharma
Interwoven Inc.