Exemple #1
0
        private async Task CreateHistoryRecordAsync(int?redactionId, string status, string details)
        {
            var redactionType = await MarkupTypeHelper.GetMarkupSubTypeNameAsync(_importWorkerQueueRecord.MarkupSubType);

            var pageNumber = _importWorkerQueueRecord.FileOrder + 1;

            await ArtifactQueries.CreateMarkupUtilityHistoryRecordAsync(
                AgentHelper.GetServicesManager(),
                _executionIdentity,
                WorkspaceArtifactId,
                _importWorkerQueueRecord.ImportJobArtifactId,
                _importWorkerQueueRecord.DocumentIdentifier,
                pageNumber,
                Constant.ImportJobType.IMPORT,
                redactionType,
                status,
                details,
                _redactionData,
                redactionId, -1);
        }