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+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
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