Home
TeamSite
TeamSite, LiveSite and OpenDeploy
externaltasks and timeouts
Denise Bowker
I wanted an external task to do an IWJOBC -i xxxxx. Easy enough, but I really didn't want to write an external script that would then do a callback to transition the WF on to the next task. So I had the task timeout after a minute.
I realize that there is no way to know if the external task succeeded or not, but....
Like this:
<externaltask name="startJob" owner="xxxxx" description="Start new copy of workflow">
<areavpath v='xxxxx'/>
<successors>
<successorset description="kill this job">
<succ v="logJob"/>
</successorset>
</successors>
<command v='e:/apps/interwoven/teamsite/bin/iwjobc -i
e:/apps/interwoven/teamsite/local/config/wft/NIF_regenerate.xml'/>
<timeout v="+000001">
<succ v="logJob" />
</timeout>
</externaltask>
Find more posts tagged with
Comments
There are no comments yet