# Repair

Repair is a UI Action on the Integration. Clicking it will cause a bulk replay of all its broken Transactions (those in an Error or Timed Out state).

You can repair an Integration either from Unifi Integration Designer, or native ServiceNow:&#x20;

{% tabs %}
{% tab title="Unifi Integration Designer" %}
Click the **Repair** UI action on the Integration record in the Unifi Integration Designer portal.![](blob:https://sharelogic.atlassian.net/d8ddbba2-3453-4ab2-9cf3-5f780c44deb7#media-blob-url=true\&id=a9c0b836-8425-4e4d-84c3-3f45f1cc9a87\&collection=contentId-45973511\&contextId=45973511\&mimeType=image%2Fpng\&name=Repair%202.png\&size=4786\&width=622\&height=30)

![](/files/-MfIdxJYgo7mQrVSSt11)
{% endtab %}

{% tab title="Native ServiceNow" %}
Click the the **Repair** UI Action in the header of the Integration record in native ServiceNow

![](/files/-MfIkQjThkPNh7PfkiqC)
{% endtab %}
{% endtabs %}

{% hint style="info" %}
Unifi Admins can repair Integrations.
{% endhint %}

## Use Case

In the case of a major outage (where perhaps the other system is down, or the authentication user credentials have been updated), you might have a number of failed Transactions. Rather than stepping into each Transaction and replaying them individually, you can simply replay all the broken Transactions on the Integration. This could represent a significant time-saving.![](blob:https://sharelogic.atlassian.net/868d653f-f25e-483e-8d56-8464d48a88ed#media-blob-url=true\&id=4b297628-d6bf-41e9-85a1-2b37cd35743f\&collection=contentId-45973511\&contextId=45973511\&mimeType=image%2Fpng\&name=Repair%203.png\&size=7552\&width=247\&height=87)

As a further aid, there is also a 'View broken transactions' Related Link on the Integration record which will take you to a list of all Transactions in an Error or Timed Out state.

![](/files/-MfIf3Fgby1DE8BsSpLu)

{% hint style="success" %}
**Hints & Tips:** It is possible for Unifi to be proactive and raise Incidents about Integrations ([see Event Actions](/unifi/3.0/configuration/event-actions.md)). In such a case, the repair functionality could be tied to the resolution of the Incident, whereby Unifi automatically runs 'Repair' on the Integration the Incident was raised against.
{% endhint %}

## Replay, Repair and Ignored

When a Transaction is replayed (whether individually, or in bulk), the original record is set to 'Ignored' and a new Transaction (with a decimal suffix) is generated (taking the same Stage data & reprocessing it) and sent.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sharelogic.com/unifi/3.0/feature-guides/error-handling-tools/repair.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
