added status return codes to activities, and fixed a problem with workflow parameters
This commit is contained in:
parent
4dc0fc073d
commit
ac1a9c7eae
30 changed files with 135 additions and 59 deletions
|
|
@ -82,9 +82,10 @@ sub execute {
|
|||
$self->session->user({user=>$user});
|
||||
WebGUI::Macro::process(\$cmd);
|
||||
if (system($cmd)) {
|
||||
return 0;
|
||||
$self->session->errorHandler->error("Workflow: RunCommandAsUser failed because: $!");
|
||||
return $self->ERROR;
|
||||
} else {
|
||||
return 1;
|
||||
return $self->COMPLETE;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue