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.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
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