- Made changes to spectre to handle finished workflows better.

This commit is contained in:
JT Smith 2006-07-12 20:21:10 +00:00
parent 06e1acf350
commit 1440fec057
3 changed files with 7 additions and 0 deletions

View file

@ -380,6 +380,8 @@ sub www_runWorkflow {
my $instance = WebGUI::Workflow::Instance->new($session, $instanceId);
if (defined $instance) {
return $instance->run;
} else {
return "done";
}
return "complete";
}