TAG_Info();
__TAG__();
__VALUE__();
__ELEM__();
< workflow ....> < description>... < variables> < variable key="MyKey" value="MyValue"/> < variable key="YourKey" value="YourValue"/> ... < /variables> ... < /workflow>
TeamSite::WFworkflow
GetVariable()
< usertask ....> < areavpath v="..."/> < successors> ... < /successors> ... < variables> < variable key="LooKey" value="ICU"/> < variable key="LooKeyHere" value="ICU2"/> ... < /variables> < /usertask>
TeamSite::WFtask
$cgi->{form}{variablename}
TAG_info(test1 => [html => "< input type='text'>", label => "Test 1", ], iw_setwfarg_test2 => [html => "< input type='text'>", label => "Test 2", ], );
use TeamSite::WFworkflow;my($jobid, $taskid, $area) = @ARGV;my $job = new TeamSite::WFworkflow($jobid);my $j1 = $job->GetVariable("test1");my $j2 = $job->GetVariable("test2");my $j3 = $job->GetVariable("iw_setwfarg_test2");
TAG_info();
< workflow ...> < variables> < variable key="test2" value="__TAG__('iw_setwfarg_test2');"/> < /variables> ...< /workflow>
iw_setwfarg_
Edited by ghoti on 09/26/02 08:52 AM (server time).
Enter
< variables>...< /variables>
cgitask
$cgi->{form}{field_name};
externaltask
GetVariable();
SetVariable();
$foo
__VALUE__('foo');
< variable key="foo" value="__INSERT__($foo)"/>