Click or drag to resize
IWorkflowInstanceOwnerManager Interface
This manager would lock a process while it is running

Namespace: FlexRule.Flows.Workflows.Managers.Ownerships
Assembly: FlexRule.Flows.Workflow (in FlexRule.Flows.Workflow.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
C#
public interface IWorkflowInstanceOwnerManager

The IWorkflowInstanceOwnerManager type exposes the following members.

Methods
  NameDescription
Public methodUpdateOwner
Updates the owner information
Top
Remarks
When a process is loaded using IWorkflowInstanceStateManager by a WorkflowManager to be resumed, the processing time may take a while. During this processing time you may need to lock the process to not allow any other WorkflowManager loads the same running process. This behaviour is implemented using UpdateOwner(IWorkflowInstanceOwner) method. When OwnerId and Until is set to null the lock is released.
See Also