I can't get the debug mode TAG_info options to appear when I start my simple workflow:
<template_script><![CDATA[
#------------------------------------------------------------------------------
# File: human_resources.wft
# Created: 10/31/2005
#------------------------------------------------------------------------------
use strict;
use TeamSite::Config;
use TeamSite::WFconstructor;
use TeamSite::JavaResourceBundle;
use TeamSite::WFworkflow;
use TeamSite::WFtask;
my $iw_desc = __VALUE__('iw_desc');
my $iw_user = __VALUE__('iw_user');
my $iw_branch = __VALUE__('iw_branch');
my $iw_workarea = __VALUE__('iw_workarea');
my $iw_areaowner = __VALUE__('iw_areaowner');
my $iw_template_file = __VALUE__('iw_template_file');
my $iw_author = __VALUE__('iw_author');
my $iwhome = TeamSite::Config::iwgethome();
my $wft_dir = "$iwhome/local/config/wft";
my $this_wft_dir = "$wft_dir/$1";
my $wft_base_name = $2;
my @submit_file = (__ELEM__('iw_file') ? sort __VALUE__('iw_file') : ());
my $iwperl = "$iwhome/iw-perl/bin/iwperl";
my $job_name = "HR Testing";
my $job_description = "Testing. Please ignore.";
#my $wft_config = TeamSite::JavaResourceBundle->new();
#$wft_config->load( $this_wft_dir, $wft_base_name, "cfg", 0 )
# or die "Configuration file not found.";
TAG_info(
iw_debug_mode => "<input type='checkbox' value='false' checked>",
iw_output_file => "<input type='text' value='$this_wft_dir/hr-debug.xml' size='40'>",
);
{
my @file_comments = ();
for (my $i=0; $i < @submit_file; ++$i) {
push @file_comments, __VALUE__("File_comment_$i");
}
declare_workflow(name => $job_name,
owner => $iw_user,
creator => $iw_user,
description => $job_description,
comment => "This job was created using $iw_template_file",
files => \@submit_file,
file_comments => \@file_comments);
declare_task('dq_deploy',
name => "DQ deploy",
description => "This task deploys the selected content to D & Q",
type => "externaltask",
owner => $iw_user,
areavpath => $iw_workarea,
start => TRUE,
command => "$iwperl $this_wft_dir/test.ipl");
declare_task('end',
name => "End Task",
type => "endtask");
link_tasks('dq_deploy', 'end', "Success");
propagate_from_dormant_tasks();
compute_activation_sets();
__INSERT__(get_job_spec());
}
]]>
</template_script>
Anyone know why this is?
Darin Kuntze
Senior Programming Analyst
First National Bank Nebraska, Inc.