ModelFactoryGenerateActionFlowAssignment Method

Creates a new ActionFlowAssignmentDto based on the given parameters.

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public static ActionFlowAssignmentDto GenerateActionFlowAssignment(
	ActionFlowEvent actionFlowEvent,
	Guid actionFlowDefinitionId,
	Guid companyId
)

Parameters

actionFlowEvent  ActionFlowEvent
Type of event to create it for.
actionFlowDefinitionId  Guid
Assigned ActionFlowDefinitionDto. Can be left Empty for now.
companyId  Guid
Company the ActionFlowAssignmentDto will be assigned to. If left Empty, the assignment is company-agnostic.

Return Value

ActionFlowAssignmentDto
Generated assignment

Exceptions

ArgumentExceptionIf actionFlowEvent is Empty

See Also