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)
Calling deploy Script from work flow
Sailesh
Hi,
Iam new to Interwoven, so this question may be very stupid one. I want to know how can one call an openDeploy script through workflow task.
Thanks,
Sailesh
Find more posts tagged with
Comments
Michael
Hi Sailesh
You could check out the solutions workflow that ship with TeamSite. Check out author_submit_with_deploy.wft and wft_opendeploy.ipl.
Hope this helps.
Cheers
Michael
Migrateduser
Speaking of which, there is a bug in wft_opendeploy.ipl that you need to be aware of.
In this bit of code, beginning line 371, it checks the output of the iwodstart command and tries some regexes against it to figure out what happened and which CallBack should be invoked.
if ($results =~ m|Status: Completed|)
{
$callback_result = 0;
$comment = " OpenDeploy SUCCESS.\n";
debug("$dbgInfo","$comment");
}
The problem is that one possilbe result is Completed with Errors, which that pattern will match. In my opinion, completed with errors should be treated as a failure rather than success. So - you'll need to make appropriate modifications to the code.
cliffhanger
Hi,
I am also using TeamSite 5.0.1, but I couldn't find the WFT file you mentioned: author_submit_with_deploy.wft. Could you please post it here or e-mail it to me at
baru1864@mail.plattsburgh.edu
Thanks,
Pallabi
Migrateduser
Those workflows are not part of the TS 5.0x product. They were released in SP2 of 5.5.2. Sorry.
lissa