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