IAzureCosmosDbUpdateOrCreateActionFlowAssignment Method

Update or Creates an action flow assignment in the database. If an assignment with the same ActionFlowEvent> already exists for the company, it will be updated.

Definition

Namespace: MobileTrack.DataContainers.Cosmos
Assembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task UpdateOrCreateActionFlowAssignment(
	ActionFlowAssignmentDto assignment,
	UserSessionData createdBy,
	CancellationToken cancellationToken = default
)

Parameters

assignment  ActionFlowAssignmentDto
createdBy  UserSessionData
cancellationToken  CancellationToken  (Optional)

Return Value

Task
Task completion

Exceptions

UnauthorizedAccessExceptionThrown if the user createdBy did not have the correct permissions
ArgumentNullExceptionThrown if assignment or createdBy are

See Also