Request Reprocess API

 

The Request Reprocess API recalculates SLA-related values for existing requests when SLA configurations, holidays, or operational hours are modified.

The API uses the current configurations to recalculate request due-by times, overdue status, and related SLA-dependent actions.

For example, if an unplanned holiday is added, you can reprocess the affected requests to update their SLA calculations and prevent incorrect SLA violations.

You can invoke the API by using scripts or API clients such as Postman.

Note: Reprocessing uses the current SLA configurations, operational hours, holidays, and related settings. As a result, recalculated values and associated actions may differ from those originally applied when the request was created.

 

Supported Module: Requests

Prerequisites

Review the following before invoking the API:

 

Note: If an SDAdmin assigned as an editor to a service request invokes the Reprocess API, the request may be marked as edited even if no changes are made. This will complete the editing process.

 

Access the API Documentation  

Go to Admin > API > Documentation and select:

 

Values Recalculated   

The SLA action recalculates the following values based on the fields enabled in global configuration:

 

Reprocess field

Values affected

due_by_time

Request due-by time and overdue status

first_response_due_by_time

First response due-by time and response overdue status

ola_due_by_time

Group OLA violation time

time_elapsed

Time elapsed between request creation and resolution

response_time_elapsed

Time elapsed between request creation and the first response

 

When SLA or due-by times change, pending SLA escalations may be rescheduled based on the current escalation configuration. Escalations that have already been sent are excluded to prevent duplicate notifications.

 

 

 

Note:

 

 API  Endpoints

 

Operation

Endpoints

Example

Reprocess multiple requests

PUT /api/v3/requests/_reprocess

   

 

Reprocess a single request

PUT /api/v3/requests/{id}/_reprocess

Input Data:

Response:

Sample output :
{
"response_status": [
{
"status_code": 2000,
"messages": [
{
"status_code": 2000,
"type": "success",
"message": "Request reprocessed successfully."
}
],
"id": "1",
"status": "success"
}
]
}

 

 Supported Actions

Action

Description

SLA

Recalculates SLA-related values enabled in the global configuration.

 

 Parameters

Parameter

Type

Description

actions

JSON array

Specify actions to perform during reprocessing.
To recalculate SLA-related values, use ["sla"] .

ids

List of IDs

Request IDs to reprocess. You can specify up to 100 request IDs per call.

skip_parameters

JSON array

Automations and validations to exclude during reprocessing.

 

 Skip Parameters

Reprocessing applies the current request configurations and may trigger automations or validations again.

Before reprocessing requests in production, review the configurations listed below and use skip_parameters to exclude specific operations from reprocessing.

Value

Operations Skipped

Review Before Skipping

business_rules

Business rule actions, including field updates, assignments, notifications, webhooks.

Business rules configured for request update events.

custom_triggers

Custom trigger actions, including notifications, field updates, scripts, webhooks, and integrations.

Check triggers configured for notifications, field updates, scripts, webhooks, and integrations.

tech_auto_assign

Automatic technician assignments

Technician auto-assignment, load-balancing, round-robin, and group assignment configurations.

closing_rules

Closure rule validations that may prevent older resolved or closed requests from being reprocessed.

Review closure requirements for mandatory fields, tasks, approvals, resolutions, notes, and worklogs.

template_mandatory_fields

Template mandatory field validations that prevent requests that do not contain the newly added mandatory information from being reprocessed.

Mandatory fields and resource questions added after the requests are created.

timers

Timer actions from being scheduled, reset, cancelled, or executed.

Timer stages that depend on Due-by Time or First Response Due-by Time.

Note: Do not skip timers if the recalculated values must update the timer schedule.

notification_rules

Notifications configured under notification rules.

Notification rules configured for request update events.

all

All supported operations listed above.

Verify that none of the listed automations or validations are required during reprocessing.

 

 

Warning: Do not skip timers if timer stages depend on Due-by Time or First Response Due-by Time, as recalculated values may affect their scheduled execution.
Note: The notification_rules parameter skips only notifications configured under Notification Rules. To skip notifications triggered by custom triggers or business rules, use custom_triggers or business_rules, respectively.

 

Request Behavior During Reprocessing   

Reprocessing may affect the following request properties:

 

 

 Request History 

Reprocessing a request adds an entry to the request history, even if no SLA-related time values are changed.

Changes to a request’s due-by time during reprocessing are recorded separately in the request history.

When an SLA is updated, the due by time calculation displays OnHold Detection details in History, indicating the duration for which the request remained on hold.

Reprocessing resets and reapplies the OLA configuration. As a result, OLA violations and other OLA-related entries may appear again in the request history.

 

 

Reprocessing Requests with an Inactive SLA

Incident Requests: If the SLA associated with a request is inactive, reprocessing applies the next available SLA that matches the request criteria. If no matching SLA is available, the request’s SLA is reset to None.

Service Requests: If the SLA associated with a request is inactive, editing or reprocessing the request clears the associated SLA, Due By Time, First Response Due By Time, and overdue status.

 

Reprocessing Requests Without an SLA

If a request has no associated SLA but has a manually configured due-by time, reprocessing applies a matching SLA based on the current configuration. If no matching SLA is available, the due-by time is reset.