ModelFactoryGenerateActionFlowDefinition Method

Generates a new ActionFlowDefinitionDto based on the given parameters.

Definition

Namespace: MobileTrack.Common.Extensions
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
public static ActionFlowDefinitionDto GenerateActionFlowDefinition(
	Guid id,
	string label,
	Guid companyId,
	ActionFlowEvent actionFlowEvent
)

Parameters

id  Guid
ID for the action flow.
label  String
Label for the action flow.
companyId  Guid
Company ID for the action flow. If left Empty, this definition is company-agnostic.
actionFlowEvent  ActionFlowEvent
Type of event this is for.

Return Value

ActionFlowDefinitionDto
Generated ActionFlowDefinitionDto

Exceptions

ArgumentExceptionThrown if actionFlowEvent is Empty

See Also