Show / Hide Table of Contents

Interface IWorkflowEngine

Namespace: SuperOffice.CRM.Workflow
Assembly: SoDataBase.dll
Syntax
public interface IWorkflowEngine

Methods

ActivateWorkflowInstancesForActionsAsync(WorkflowWaitForActionType, int, CancellationToken, params int[])

Declaration
Task ActivateWorkflowInstancesForActionsAsync(WorkflowWaitForActionType actionType, int keyId, CancellationToken cancellationToken = default, params int[] personIds)
Parameters
Type Name Description
WorkflowWaitForActionType actionType
int keyId
CancellationToken cancellationToken
int[] personIds
Returns
Type Description
Task

DoAddToProjectEventAsync(WorkflowEvent, CancellationToken)

Declaration
Task<WorkflowEventResult> DoAddToProjectEventAsync(WorkflowEvent e, CancellationToken cancellationToken = default)
Parameters
Type Name Description
WorkflowEvent e
CancellationToken cancellationToken
Returns
Type Description
Task<WorkflowEventResult>

DoContactEventAsync(WorkflowEvent, WorkflowTriggerType, CancellationToken)

Declaration
Task<WorkflowEventResult> DoContactEventAsync(WorkflowEvent e, WorkflowTriggerType triggerType, CancellationToken cancellationToken = default)
Parameters
Type Name Description
WorkflowEvent e
WorkflowTriggerType triggerType
CancellationToken cancellationToken
Returns
Type Description
Task<WorkflowEventResult>

DoEventHandlerAsync(WorkflowEvent, CancellationToken)

Declaration
Task<WorkflowEventResult> DoEventHandlerAsync(WorkflowEvent e, CancellationToken cancellationToken = default)
Parameters
Type Name Description
WorkflowEvent e
CancellationToken cancellationToken
Returns
Type Description
Task<WorkflowEventResult>

DoFormSubmissionEventAsync(WorkflowEvent, CancellationToken)

Declaration
Task<WorkflowEventResult> DoFormSubmissionEventAsync(WorkflowEvent e, CancellationToken cancellationToken = default)
Parameters
Type Name Description
WorkflowEvent e
CancellationToken cancellationToken
Returns
Type Description
Task<WorkflowEventResult>

DoLinkClickedEventAsync(WorkflowEvent, CancellationToken)

Declaration
Task<WorkflowEventResult> DoLinkClickedEventAsync(WorkflowEvent e, CancellationToken cancellationToken = default)
Parameters
Type Name Description
WorkflowEvent e
CancellationToken cancellationToken
Returns
Type Description
Task<WorkflowEventResult>

DoRequestEventAsync(WorkflowEvent, CancellationToken)

Declaration
Task<WorkflowEventResult> DoRequestEventAsync(WorkflowEvent e, CancellationToken cancellationToken = default)
Parameters
Type Name Description
WorkflowEvent e
CancellationToken cancellationToken
Returns
Type Description
Task<WorkflowEventResult>

DoSaleEventAsync(WorkflowEvent, WorkflowTriggerType, CancellationToken)

Declaration
Task<WorkflowEventResult> DoSaleEventAsync(WorkflowEvent e, WorkflowTriggerType triggerType, CancellationToken cancellationToken = default)
Parameters
Type Name Description
WorkflowEvent e
WorkflowTriggerType triggerType
CancellationToken cancellationToken
Returns
Type Description
Task<WorkflowEventResult>

RunAsync(CancellationToken)

Declaration
Task<DateTime> RunAsync(CancellationToken cancellationToken = default)
Parameters
Type Name Description
CancellationToken cancellationToken
Returns
Type Description
Task<DateTime>

Extension Methods

EnumUtil.MapEnums<From, To>(From)
Converters.MapEnums<From, To>(From)
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top