class EnsLib.Workflow.Operation
extends Ens.BusinessOperation
This Business Operation manages the delegation of workflow tasks to the Workflow Engine.
This is a Business Operation class.
parameter INVOCATION = "Queue";
2 modes: Queue, InProc
parameter SETTINGS = "AutoCreateRole:Basic";
List of properties can be set as settings in the configuration file
format is a comma separated list of property names
property AutoCreateRole
as %Boolean [ InitialExpression = 0 ];
If true, then this operation, when it starts, will automatically
create a corresponding Workflow Role definition if one does
not currently exist.
method OnInit()
as %Status
This user callback method is called via initConfig() from %OnNew() or in the case of SOAP Services from OnPreSOAP()
method TaskHandler(pTask As EnsLib.Workflow.TaskRequest, Output pResponse As EnsLib.Workflow.TaskResponse)
as %Status
Take a Task and give it to the Workflow Engine for distribution.
The role is assumed to be the same as the configuration name of this operation.