AzureCosmosDbGetAssignmentByCompanyAndEvent Method

Retrieves the assignment of an action flow to the company and actionFlowEvent.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public Task<ActionFlowAssignmentDto?> GetAssignmentByCompanyAndEvent(
	CompanyDto? company,
	Guid scopeId,
	ActionFlowEvent actionFlowEvent,
	CancellationToken cancellationToken = default
)

Parameters

company  CompanyDto
Company to look up. If left , the global
scopeId  Guid
The scope at which to work from (either an EnvironmentDto or DeviceDto). Leave it as Empty if it's a global assignment.
actionFlowEvent  ActionFlowEvent
cancellationToken  CancellationToken  (Optional)

Return Value

TaskActionFlowAssignmentDto
Task completion with ActionFlowAssignmentDto result

Implements

IAzureCosmosDbGetAssignmentByCompanyAndEvent(CompanyDto, Guid, ActionFlowEvent, CancellationToken)

See Also