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)
Nested Workflow
skynet
i have 2 workflows but i want to nest one to other passing a DCR file to the second, how is possible to do this?
Find more posts tagged with
Comments
akshathp
There are different ways to nest a workflow. Depending on the requirement you could pick the method.
One way is to add a "wftask" tag in the wft file. In this tag you could specify the target wft file. To do this the syntax is as follows:
<wftask name="somename" owner="someowner" start="f">
__INSERT__("<areavpath v='$area_vpath'/>");
<successors>
<successorset description = "somedescription">
<succ v="sometask-probablyend"/>
</successorset>
</successors>
<wftfile v="__INSERT__('absolute_path');"/>
</wftask>
To get the DCR path, if it is already included in the parent workflow, it will be available to the child workflow automatically. Otherwise one could use the extended attributes to recollect the DCR name. Depends on the situation.
The other methods are by making an explicit call using CLT iwjobc or even calling the iwwft_instantiator.cgi and passing query string wiht parameters to it.
The first method of wftask tag would probably best suit the present requirements.
Thanks,
Akshat Pramod Sharma
Interwoven Inc.
skynet
Im going to try this method tomorrow, thanks for the answer
Skynet