Home > Class Reference > ENSLIB namespace > EnsLib.Workflow.Operation


class EnsLib.Workflow.Operation extends Ens.BusinessOperation

This Business Operation manages the delegation of workflow tasks to the Workflow Engine.

Property Inventory

Method Inventory


parameter INVOCATION = Queue;
Inherited description: 2 modes: Queue, InProc
parameter SETTINGS = AutoCreateRole:Basic;
Inherited description: 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.
Property methods: AutoCreateRoleDisplayToLogical(), AutoCreateRoleGet(), AutoCreateRoleIsValid(), AutoCreateRoleLogicalToDisplay(), AutoCreateRoleNormalize(), AutoCreateRoleSet()


method OnInit() as %Status [ Language = objectscript ]
Inherited description: 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 [ Language = objectscript ]
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.

Inherited Members

Inherited Properties

Inherited Methods