Example #1
0
 /// <summary>
 /// Initializes a new instance of the QueueItemDto class.
 /// </summary>
 /// <param name="queueDefinitionId">The Id of the parent queue.</param>
 /// <param name="queueDefinition">The parent queue</param>
 /// <param name="processingException">Stores the actual processing
 /// exception, if any.</param>
 /// <param name="specificContent">A collection of key value pairs
 /// containing custom data configured in the Add Queue Item activity,
 /// in UiPath Studio.</param>
 /// <param name="output">A collection of key value pairs containing
 /// custom data resulted after successful processing.</param>
 /// <param name="outputData">A JSON representation of the output data
 /// generated by the item's processing.</param>
 /// <param name="analytics">A collection of key value pairs containing
 /// custom data for further analytics processing.</param>
 /// <param name="analyticsData">A JSON representation of the analytics
 /// data generated by the item's processing.</param>
 /// <param name="status">The processing state of the item. Possible
 /// values include: 'New', 'InProgress', 'Failed', 'Successful',
 /// 'Abandoned', 'Retried', 'Deleted'</param>
 /// <param name="reviewStatus">The review state of the item -
 /// applicable only for failed items. Possible values include: 'None',
 /// 'InReview', 'Verified', 'Retried'</param>
 /// <param name="reviewerUserId">The UserId of the Reviewer, if
 /// any.</param>
 /// <param name="reviewerUser">Stores the actual reviewer user, if
 /// any.</param>
 /// <param name="key">The unique identifier of a queue item.</param>
 /// <param name="reference">An optional, user-specified value for queue
 /// item identification.</param>
 /// <param name="processingExceptionType">The processing exception. If
 /// the item has not been processed or has been processed successfully
 /// it will be null. Possible values include: 'ApplicationException',
 /// 'BusinessException'</param>
 /// <param name="dueDate">The latest date and time at which the item
 /// should be processed. If empty the item can be processed at any
 /// given time.</param>
 /// <param name="riskSlaDate">The RiskSla date at time which is
 /// considered as risk zone for the item to be processed.</param>
 /// <param name="priority">Sets the processing importance for a given
 /// item. Possible values include: 'High', 'Normal', 'Low'</param>
 /// <param name="robot">The robot that has processed the item, if
 /// any.</param>
 /// <param name="deferDate">The earliest date and time at which the
 /// item is available for processing. If empty the item can be
 /// processed as soon as possible.</param>
 /// <param name="startProcessing">The date and time at which the item
 /// processing started. This is null if the item was not
 /// processed.</param>
 /// <param name="endProcessing">The date and time at which the item
 /// processing ended. This is null if the item was not
 /// processed.</param>
 /// <param name="secondsInPreviousAttempts">The number of seconds that
 /// the last failed processing lasted.</param>
 /// <param name="ancestorId">The Id of an ancestor item connected to
 /// the current item.</param>
 /// <param name="retryNumber">The number of times this work item has
 /// been processed.
 /// &lt;para /&gt;This can be higher than 0 only if MaxRetried number
 /// is set and the item processing failed at least once with
 /// ApplicationException.</param>
 /// <param name="specificData">A JSON representation of the specific
 /// content.</param>
 /// <param name="creationTime">The date and time when the item was
 /// created.</param>
 /// <param name="progress">String field which is used to keep track of
 /// the business flow progress.</param>
 /// <param name="rowVersion">Identifier used for optimistic
 /// concurrency, so Orchestrator can figure whether data is out of date
 /// or not.</param>
 public QueueItemDto(long?queueDefinitionId = default(long?), QueueDefinitionDto queueDefinition = default(QueueDefinitionDto), ProcessingExceptionDto processingException = default(ProcessingExceptionDto), IDictionary <string, object> specificContent = default(IDictionary <string, object>), IDictionary <string, object> output = default(IDictionary <string, object>), string outputData = default(string), IDictionary <string, object> analytics = default(IDictionary <string, object>), string analyticsData = default(string), QueueItemDtoStatus?status = default(QueueItemDtoStatus?), QueueItemDtoReviewStatus?reviewStatus = default(QueueItemDtoReviewStatus?), long?reviewerUserId = default(long?), SimpleUserDto reviewerUser = default(SimpleUserDto), System.Guid?key = default(System.Guid?), string reference = default(string), QueueItemDtoProcessingExceptionType?processingExceptionType = default(QueueItemDtoProcessingExceptionType?), System.DateTime?dueDate = default(System.DateTime?), System.DateTime?riskSlaDate = default(System.DateTime?), QueueItemDtoPriority?priority = default(QueueItemDtoPriority?), SimpleRobotDto robot = default(SimpleRobotDto), System.DateTime?deferDate = default(System.DateTime?), System.DateTime?startProcessing = default(System.DateTime?), System.DateTime?endProcessing = default(System.DateTime?), int?secondsInPreviousAttempts = default(int?), long?ancestorId = default(long?), int?retryNumber = default(int?), string specificData = default(string), System.DateTime?creationTime = default(System.DateTime?), string progress = default(string), byte[] rowVersion = default(byte[]), long?id = default(long?))
 {
     QueueDefinitionId   = queueDefinitionId;
     QueueDefinition     = queueDefinition;
     ProcessingException = processingException;
     SpecificContent     = specificContent;
     Output                    = output;
     OutputData                = outputData;
     Analytics                 = analytics;
     AnalyticsData             = analyticsData;
     Status                    = status;
     ReviewStatus              = reviewStatus;
     ReviewerUserId            = reviewerUserId;
     ReviewerUser              = reviewerUser;
     Key                       = key;
     Reference                 = reference;
     ProcessingExceptionType   = processingExceptionType;
     DueDate                   = dueDate;
     RiskSlaDate               = riskSlaDate;
     Priority                  = priority;
     Robot                     = robot;
     DeferDate                 = deferDate;
     StartProcessing           = startProcessing;
     EndProcessing             = endProcessing;
     SecondsInPreviousAttempts = secondsInPreviousAttempts;
     AncestorId                = ancestorId;
     RetryNumber               = retryNumber;
     SpecificData              = specificData;
     CreationTime              = creationTime;
     Progress                  = progress;
     RowVersion                = rowVersion;
     Id = id;
     CustomInit();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the QueueProcessingRecordDto class.
 /// </summary>
 /// <param name="queueDefinitionId">The Id of the queue for which the
 /// report is done.</param>
 /// <param name="uiQueueMetadata">The queue for which the report is
 /// done.</param>
 /// <param name="processingTime">The date and time when the report is
 /// computed.</param>
 /// <param name="reportType">The aggregation period used in the report.
 /// Possible values include: 'All', 'Minute', 'Hour', 'Day'</param>
 /// <param name="numberOfRemainingTransactions">The number of
 /// unprocessed (new) items.</param>
 /// <param name="numberOfInProgressTransactions">The number of items in
 /// progress.</param>
 /// <param name="numberOfApplicationExceptions">The total number of
 /// application exceptions thrown while processing queue items in the
 /// given time period.</param>
 /// <param name="numberOfBusinessExceptions">The total number of
 /// business exceptions thrown while processing queue items in the
 /// given time period.</param>
 /// <param name="numberOfSuccessfulTransactions">The total number of
 /// successfully processed queue items in the given time
 /// period.</param>
 /// <param name="numberOfRetriedItems">The total number of processing
 /// retries occurred in the given time period.</param>
 /// <param name="applicationExceptionsProcessingTime">The total number
 /// of seconds spent processing queue items that failed with
 /// application exception in the given time period.</param>
 /// <param name="businessExceptionsProcessingTime">The total number of
 /// seconds spent processing queue items that failed with business
 /// exception in the given time period.</param>
 /// <param name="successfulTransactionsProcessingTime">The total number
 /// of seconds spent processing successful queue items in the given
 /// time period.</param>
 /// <param name="totalNumberOfTransactions">The total number of item
 /// processing transactions, both failed and successful.</param>
 /// <param name="tenantId">The Id of the queue tenant.</param>
 public QueueProcessingRecordDto(long?queueDefinitionId = default(long?), QueueDefinitionDto uiQueueMetadata = default(QueueDefinitionDto), System.DateTime?processingTime = default(System.DateTime?), QueueProcessingRecordDtoReportType?reportType = default(QueueProcessingRecordDtoReportType?), int?numberOfRemainingTransactions = default(int?), int?numberOfInProgressTransactions = default(int?), int?numberOfApplicationExceptions = default(int?), int?numberOfBusinessExceptions = default(int?), int?numberOfSuccessfulTransactions = default(int?), int?numberOfRetriedItems = default(int?), decimal?applicationExceptionsProcessingTime = default(decimal?), decimal?businessExceptionsProcessingTime = default(decimal?), decimal?successfulTransactionsProcessingTime = default(decimal?), int?totalNumberOfTransactions = default(int?), int?tenantId = default(int?), long?id = default(long?))
 {
     QueueDefinitionId                    = queueDefinitionId;
     UiQueueMetadata                      = uiQueueMetadata;
     ProcessingTime                       = processingTime;
     ReportType                           = reportType;
     NumberOfRemainingTransactions        = numberOfRemainingTransactions;
     NumberOfInProgressTransactions       = numberOfInProgressTransactions;
     NumberOfApplicationExceptions        = numberOfApplicationExceptions;
     NumberOfBusinessExceptions           = numberOfBusinessExceptions;
     NumberOfSuccessfulTransactions       = numberOfSuccessfulTransactions;
     NumberOfRetriedItems                 = numberOfRetriedItems;
     ApplicationExceptionsProcessingTime  = applicationExceptionsProcessingTime;
     BusinessExceptionsProcessingTime     = businessExceptionsProcessingTime;
     SuccessfulTransactionsProcessingTime = successfulTransactionsProcessingTime;
     TotalNumberOfTransactions            = totalNumberOfTransactions;
     TenantId = tenantId;
     Id       = id;
     CustomInit();
 }