Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
why CLT can not be executed by TS
bigterry
My externaltask can not be executed. when run to this task, it always active, then the job can not be ended. Why???
My externaltask is below:
<externaltask lock = "f" name = "printversion" owner = "teamsite/Administrator" retry = "f" start = "f">
<areavpath v = "\default\main\teamb\WORKAREA\group2"/>
<successors>
<successorset description = "Go to EndTask">
<succ v = "EndTask"/>
</successorset>
</successors>
<command v = "d:/iw-home/bin/iwversion"/>
<activation>
<or>
<pred v = "submit"/>
</or>
</activation>
</externaltask>
[laugh]Terry Yao[laugh]
Find more posts tagged with
Comments
iwovGraduate
The reason why your job is not getting "ended" is because the script/process you are trying to run ("d:/iw-home/bin/iwversion") does not do a *callback* to the workflow. I assume that iwversion is the CLT shipped by Interwoven, and not some custom script. In order to run a script/executable as externaltask, it has to meet some requirements. You cannot run iwversion directly. If you need to run a CLT you will have to wrap it with a script that does a callback.
It appears to me that you are just trying to run some command probably to test or part of some learning excercise. I would recommend using the example shipped with TeamSite versions 5.5.x or later. There is a sample externaltask, cgitask, etc.
What version of TS are you using ?
Please read the documentation on worklfows which, contratry to the popular belief is fairly decent. There is a workflow developers guide on the support site. There is a wonderful tutorial written by the famous fish
https://support.interwoven.com/kb/kb_show_article2.asp?ArticleID=48805
This has some very useful tips on how to debug your workflows, externaltasks, etc.
You can ofcourse go to Interwoven training, if at all possible.
ThreeDTable.zip
2187.pdf
Migrateduser
There's also a webcast recording from the engineers about workflow debugging that you might find helpful. See:
http://devnet.interwoven.com/site.fcgi/webcasts/index.html#webcast-14
Regards
lissa