IAzureCosmosDbGetActionFlowOptionsByEvent Method

Retrieves a series of action flow options, separated by event. Events without any options will return an empty array. This is used in the company settings tab, so action flows can be assigned to events for that particular company; therefore, the options contain the global action flows and the ones that are custom for that companyId. If companyId is , then only the global action flows will be returned.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task<Dictionary<ActionFlowEvent, List<ActionFlowDefinitionDto>>> GetActionFlowOptionsByEvent(
	Guid companyId,
	CancellationToken cancellationToken = default
)

Parameters

companyId  Guid
Company to get the action flows for. If left empty, only global action flows will be retrieved.
cancellationToken  CancellationToken  (Optional)
Cancellation token

Return Value

TaskDictionaryActionFlowEvent, ListActionFlowDefinitionDto
All available action flows for the companyId, separated by the action flow event type.

See Also