Interface IWorkflowUtil
Assembly: SoDataBase.BusinessLogic.dll
Syntax
public interface IWorkflowUtil
Methods
BlockListApprovedAsync(int[], int[], CancellationToken)
Declaration
Task<HashSet<int>> BlockListApprovedAsync(int[] selections, int[] personIds, CancellationToken cancellationToken = default)
Parameters
Returns
CalculateTime(WorkflowTimeWaitIntervalType, int, DateTime)
Declaration
DateTime CalculateTime(WorkflowTimeWaitIntervalType intervalType, int intervalCount, DateTime defaultTime)
Parameters
Returns
CleanRestrictions(ArchiveRestrictionInfo[])
Declaration
List<ArchiveRestrictionInfo> CleanRestrictions(ArchiveRestrictionInfo[] res)
Parameters
Returns
FilterOkAsync(int, int[], CancellationToken)
Declaration
Task<HashSet<int>> FilterOkAsync(int workflowId, int[] personIds, CancellationToken cancellationToken = default)
Parameters
Returns
GetCreatedByWorkflowNameAsync(int, CancellationToken)
Declaration
Task<string> GetCreatedByWorkflowNameAsync(int workflowId, CancellationToken cancellationToken = default)
Parameters
Returns
GetOptionStepIdsAsync(int, CancellationToken)
Declaration
IAsyncEnumerable<int> GetOptionStepIdsAsync(int optionId, CancellationToken cancellationToken = default)
Parameters
Returns
GetRootStepIdsAsync(int, CancellationToken)
Declaration
Task<int[]> GetRootStepIdsAsync(int workflowId, CancellationToken cancellationToken = default)
Parameters
Returns
GetStepIdsAsync(int, WorkflowStepType, CancellationToken)
Declaration
Task<List<int>> GetStepIdsAsync(int workflowId, WorkflowStepType stepType, CancellationToken cancellationToken = default)
Parameters
Returns
GetValueFromCriteriaAsync(int, int, string, CancellationToken)
Declaration
Task<int> GetValueFromCriteriaAsync(int ownerTable, int ownerId, string colName, CancellationToken cancellationToken = default)
Parameters
Returns
GetWorkflowIdFromStepIdAsync(int, CancellationToken)
Declaration
Task<int> GetWorkflowIdFromStepIdAsync(int stepId, CancellationToken cancellationToken = default)
Parameters
Returns
GoalReachedAsync(int, int, int, CancellationToken)
Declaration
Task<bool> GoalReachedAsync(int workflowId, int personId, int contactId, CancellationToken cancellationToken = default)
Parameters
Returns
GoalReachedAsync(int, int[], int[], CancellationToken)
Declaration
Task<HashSet<int>> GoalReachedAsync(int workflowId, int[] personIds, int[] contactIds, CancellationToken cancellationToken = default)
Parameters
Returns
HasEmarketingConsentAndSubscriptionAsync(int, int, CancellationToken)
Declaration
Task<(bool, string)> HasEmarketingConsentAndSubscriptionAsync(int personId, int shipmentTypeReservationId, CancellationToken cancellationToken = default)
Parameters
Returns
IsAddressUsedByOtherParticipantAsync(int, int, string, CancellationToken)
Declaration
Task<bool> IsAddressUsedByOtherParticipantAsync(int flowId, int personId, string address, CancellationToken cancellationToken = default)
Parameters
Returns
NextStepIdAsync(int, int, CancellationToken)
Declaration
Task<int> NextStepIdAsync(int workflowId, int stepId, CancellationToken cancellationToken = default)
Parameters
Returns
TryAddPersonsToWorkFlowAsync(int, int[], CancellationToken)
Declaration
Task<bool[]> TryAddPersonsToWorkFlowAsync(int workflowId, int[] personIds, CancellationToken cancellationToken = default)
Parameters
Returns
TryAddToSelectionAsync(int, int, int, CancellationToken)
Declaration
Task TryAddToSelectionAsync(int selectionId, int personId, int contactId, CancellationToken cancellationToken = default)
Parameters
Returns
VerifySmtpSetupAsync(int, CancellationToken)
Declaration
Task VerifySmtpSetupAsync(int shipmentId, CancellationToken cancellationToken = default)
Parameters
Returns
Extension Methods