---
title: "Maintenance equipment status update"
slug: "maintenance-equipment-status-update"
updated: 2025-01-09T09:04:39Z
published: 2025-01-09T09:04:39Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.tulip.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Maintenance equipment status update

## Scenario

In the production area, once maintenance is completed, equipment is assigned an **OPERATIONAL** status. When the maintenance-standing time expires, the equipment loses its **OPERATIONAL** status. Automation aids this process by conducting hourly checks on the equipment listed in the **Equipment & Assets** table. It identifies any items that have an **OPERATIONAL** status and expired maintenance-standing time. If such records are identified, their maintenance status is automatically updated to **MAINTENANCE REQUIRED**.

### Flow of the automation

![Maintenance status update.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Maintenance%20status%20update.png)

## Configure automation

### Pre-requisites

This automation utilizes a Tulip table connector function to pull records from the table that need modification. The connector is installed on the instance simultaneously with the automation. To ensure the connector functions properly, a few settings must be configured:

#### Set the authentication

1. Create an API token on the instance that has the necessary permissions to read the Tulip tables. If an API token with the required access already exists, this step can be skipped.

          Using multiple workspace

          

If you are using multiple workspaces, create the API token under the workspace settings during the setup process for the workspace where you want to use the automation. Otherwise, you will need to define the workspace in the connector function. ![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28775%29.png)

![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28771%29.png)

1. Enter the API token details in the connector for authentication.  

![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28772%29.png)

![Set authentication.gif](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Set%20authentication.gif)

If you want to know more about connectors, check out this link: [How to Create a Connector](https://support.tulip.co/docs/how-to-configure-a-connector).

#### Set your server address

Along with the authentication of the connector, the server address must also be configured. Under the connector environment settings, paste the instance URL into the server address field for the environment where you want to use the automation.

![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28774%29.png)

## Modifying the automation

In the automation, you can modify almost everything to fit your process.

### To adjust the automation for a different table

If you want to use the automation with a different table, you need to change the table ID in the **Get records from the Equipment & Assets table** function, which is located under the **Connector for Tulip table manipulations** connector. Simply update the table ID to the one corresponding to the table from which you wish to retrieve the list.

![Screenshot 2024-12-17 at 15.24.21.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Screenshot%202024-12-17%20at%2015.24.21.png)

Once the connector function has been modified, you only need to update the table data in the automation. Under the block configuration, find the appropriate table under the table field.

### Changing the Operational Status Duration

![Screenshot 2024-12-17 at 15.25.24.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Screenshot%202024-12-17%20at%2015.25.24.png)

The evaluation condition is located in the decision block. The expression is structured so that the value of the **Last Maintenance** field from the loaded record is added to the maximum allowed operational status duration, which is 30 days in this example.

**To adjust the duration:** Update the part of the expression that specifies the allowed maximum operational status duration to your desired value.

The automation then checks whether this calculated value is less than or equal to the current date and time at the moment of evaluation.
