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

See Also