Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
job instatiator window .. how to retrive the selected values
Lal
Hi,
In the job instatiator window i have a drop down which list some values.
The user has to select one value.
My requirement is, in another external task I need to get this value.
Could some help me out.
In the sample code, down the mail i need to retrive the value "iw_desc"
in an external task.
I am using TS 6.5.
Lal
/***********
TAG_info(
# The string to be used list all the editions.
iw_desc =>
[ label => 'Select Edition',
html => 'List of Editions:
'
. get_branch_edition,
is_required => 'true',
error_msg => 'Please enter a description',
],
Description =>
[ label => 'Enter Comments',
html => 'Enter Comments for this deployment:
'
. '
Comments here ...',
is_required => 'true',
error_msg => 'Please enter a description',
],
);
*//////
Find more posts tagged with
Comments
Lal
I tired this way and is working fine.. is there any other way..
Lal
wft..
/*******
TAG_info(
# The string to be used as the job's description.
iw_setwfarg_iw_desc =>
[ label => 'Select Edition',
html => 'List of Editions:
'
. get_branch_edition,
is_required => 'true',
error_msg => 'Please enter a description',
],
iw_setwfarg_Description =>
[ label => 'Enter Comments',
html => 'Enter Comments for this deployment:
'
. '
Comments here ...',
is_required => 'true',
error_msg => 'Please enter a description',
],
);
*//////
/********** my external ipl file
my($job) = new TeamSite::WFworkflow($ARGV[0]);
my($title) = $job->GetVariable('iw_desc');
print BATCH "Tag Info -->$title<--";
Adam Stoller
iw_setwfarg_**** is the simplest way to make sure that a job instantiation input field's value is turned into a job variable.
You can do the same thing yourself by creating job and/or task variables using the __TAG__() directive in the value portion and/or setting perl variables with the __VALUE__() directive and then using the perl variable - either within a perl block of code (as with TeamSite::WFconstructor) or using the __INSERT__() directive.