Update Workflow/Instance.pm POD and one info message
This commit is contained in:
parent
93097ff23f
commit
d94fb4460b
1 changed files with 10 additions and 4 deletions
|
|
@ -68,7 +68,7 @@ sub create {
|
|||
: undef;
|
||||
my ($count) = $session->db->quickArray("select count(*) from WorkflowInstance where workflowId=? and parameters=?",[$properties->{workflowId},$params]);
|
||||
if ($isSingleton && $count) {
|
||||
$session->log->info("singleton workflow $properties->{workflowId} already running, not running again");
|
||||
$session->log->info("An instance of singleton workflow $properties->{workflowId} already exists, not creating a new one");
|
||||
return undef
|
||||
}
|
||||
|
||||
|
|
@ -264,6 +264,10 @@ A reference to the current session.
|
|||
|
||||
A unique id refering to a workflow instance.
|
||||
|
||||
=head3 isNew
|
||||
|
||||
A boolean, that, if true, sets that the instance is ready to run.
|
||||
|
||||
=cut
|
||||
|
||||
sub new {
|
||||
|
|
@ -406,15 +410,17 @@ The id of the workflow we're executing.
|
|||
|
||||
=head4 className
|
||||
|
||||
The classname of an object that will be created to pass into the workflow.
|
||||
The classname of an object that will be created to pass into the workflow. The object will not
|
||||
be constructed unless both className and methodName are true.
|
||||
|
||||
=head4 methodName
|
||||
|
||||
The method name of the constructor for className.
|
||||
The method name of the constructor for className. The object will not
|
||||
be constructed unless both className and methodName are true.
|
||||
|
||||
=head4 parameters
|
||||
|
||||
The parameters to be passed into the constructor. Note that the system will always pass in the session as the first argument.
|
||||
A hashref of parameters to be passed into the constructor for className. Note that the system will always pass in the session as the first argument.
|
||||
|
||||
=head4 currentActivityId
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue