I want a Deploy task to select a succ based on the results of the Deployment invoked. I do not know how to pass a variable from my deploy.ipl back to my Deploy task in the workflow to select the next task and need your assistance.
I have taken a look at the following post, but the information is lacking in detail to assist me:
http://devnet.interwoven.com/forums_vb/showthread.php?t=19999&forumid=16http://devnet.interwoven.com/forums_vb/showthread.php?t=19789&forumid=16http://devnet.interwoven.com/forums_vb/showthread.php?t=18513&forumid=16http://devnet.interwoven.com/forums_vb/showthread.php?t=15321&forumid=16I am also trying to look to run perldoc TeamSite::WFworkflow and TeamSite::WFtask. To learn more on these modules but I am currently having problems running perldoc.
In my deploy.ipl I am able to get the deployment status which I am putting into a local variable as follows.
my $deployComment = "My deployment status here";I want to pass this back to my workflow Deploy task and based on the results Failure or Success move on to the appropriate task. At the moment the Task moves on to the next task no matter what the deploy results were.
This is how the deploy_cmd is built.
my $deploy_cmd = "$iwhome/iw-perl/bin/iwperl $iwhome/local/bin/workflow/deploy.ipl Production ";This is my deploy task
< externaltask name="Deploy"
owner="__TAG__('iw_user');"
description="Deploy" >
__INSERT__("< areavpath v='$area_vpath'/>");
< successors>
< successorset description="Success">
< succ v="Compliance"/>
< / successorset>
< / successors>
__INSERT__("< command v='$deploy_cmd' />");
< activation>
< pred v='Submit'/>
< /activation>
< /externaltask>
Can anyone help me fill in the gaps or guide me in the right direction?