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

# Record Actions

> Workflow actions for managing records in Blink case management custom tables.

## Add Record

Add a record to a table. Two ways:

<CardGroup>
  <Card title="Entering the Values Manually" icon="angle-right" href="/docs/case-management/case-management-workflow-actions/record-actions#entering-the-values-manually" iconType="solid" />

  <Card title="JSON Format" icon="angle-right" href="/docs/case-management/case-management-workflow-actions/record-actions#json-format" iconType="solid" />
</CardGroup>

### Entering the Values Manually

This action **Adds a Record** to a Case Management custom table by manually entering the table field name and the table field value.

<div className="integrations-table">
  | Parameter  | Description            |
  | ---------- | ---------------------- |
  | Table Name | The Name of the table. |
  | Record     | Data of the Record.    |
</div>

<Frame>
  <img src="https://mintcdn.com/blinkops-2/UGyZ3yX79lqyx4Hr/img/CaseManagement/AddRecordMan.png?fit=max&auto=format&n=UGyZ3yX79lqyx4Hr&q=85&s=711f775f0a3e749d6bfe15043ee185bb" width="2404" height="786" data-path="img/CaseManagement/AddRecordMan.png" />
</Frame>

## JSON Format

This action **Adds a Record** to a Case Management custom table according to the JSON format.

<div className="integrations-table">
  | Parameter  | Description                                                                                                                                                                                                                                                              |
  | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
  | Table Name | The Name of the table.                                                                                                                                                                                                                                                   |
  | Record     | Data of single or multiple records.<br />To create multiple records, enter a JSON list representing the records.<br />For example:<br /><pre><code>\[<br />  \{<br />    "name": "record 1"<br />  },<br />  \{<br />    "name": "record 2"<br />  }<br />]</code></pre> |
</div>

<Frame>
  <img src="https://mintcdn.com/blinkops-2/UGyZ3yX79lqyx4Hr/img/CaseManagement/AddRecordJSON.png?fit=max&auto=format&n=UGyZ3yX79lqyx4Hr&q=85&s=30b8faa9dbee2acc5e46e01ac8f53d92" width="2400" height="784" data-path="img/CaseManagement/AddRecordJSON.png" />
</Frame>

***

### Update Records (In Bulk)

This action enables you to update multiple records at once in either a **Case Management Observable Table** or a **Case Management Custom Table**.

<div className="integrations-table">
  | Parameter   | Description                                                                                                                                                                                                             |
  | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | **Table**   | The Case Management Observable Table or Case Management Custom Table where you want to update multiple records.                                                                                                         |
  | **Records** | A `JSON` array of the records to update. Each object **must** include the record `id` and the fields you want to update. All records in the array should follow the same structure and include the same set of columns. |
</div>

<Frame>
  <img src="https://mintcdn.com/blinkops-2/rOsF_Yp3L-THYXj-/img/CaseManagement/UpdateRecordBulk.png?fit=max&auto=format&n=rOsF_Yp3L-THYXj-&q=85&s=429ce1e400831e89baaf1843a2133c5e" width="2317" height="788" data-path="img/CaseManagement/UpdateRecordBulk.png" />
</Frame>

<Warning>
  **Please Note:**

  * All records in the array must follow the same structure and include the same set of columns.
  * Only `Observables` and Case Management custom tables can be updated.
  * `Reference` and `Files` field types are **not allowed** for updates.
  * The `Records` input is limited to **1,000 items** per operation.
</Warning>

***

## Delete Records

This action **Deletes a Record(s)** from a Case Management table that match a specified condition.

<div className="integrations-table">
  | Parameter           | Description                                                            |
  | ------------------- | ---------------------------------------------------------------------- |
  | Delete Record(s) By | The date type to delete the records by: **By ID** or **By Condition**. |
  | Table Name          | The Name of the table.                                                 |
  | Record ID(s)        | A comma separated list of the record ID(s) to delete.                  |
  | Condition           | The condition criteria for deleting records that meet the conditions.  |
</div>

***

## Link Reference To Record

Links a table record with reference column to a record.

<div className="integrations-table">
  | Parameter           | Description                                                                                |
  | ------------------- | ------------------------------------------------------------------------------------------ |
  | Table Name          | The name of the table from which the record will be linked to another record.              |
  | Record To Link      | The ID of the record to be linked to another record.                                       |
  | Linking Column Name | The column within the table that serves as the linking mechanism between the two tables.   |
  | Linked Record       | The record in the target table that will be linked to the specified record from the table. |
</div>

<Frame>
  <img src="https://mintcdn.com/blinkops-2/a1zzdVRAg2RBMsIZ/img/CaseManagement/LinkReferenceToRecord.png?fit=max&auto=format&n=a1zzdVRAg2RBMsIZ&q=85&s=ba62417679ff2ae8548655792144974d" width="2332" height="978" data-path="img/CaseManagement/LinkReferenceToRecord.png" />
</Frame>

***

## Unlink Reference From Record

Unlinks a table record with reference column from a record.

<div className="integrations-table">
  | Parameter           | Description                                                                                    |
  | ------------------- | ---------------------------------------------------------------------------------------------- |
  | Table Name          | The name of the table from which the record will be unlinked from another record.              |
  | Record To Unlink    | The ID of the record to be unlinked from another record.                                       |
  | Linking Column Name | The column within the table that serves as the linking mechanism between the two tables.       |
  | Linked Record       | The record in the target table that will be unlinked from the specified record from the table. |
</div>

<Frame>
  <img src="https://mintcdn.com/blinkops-2/sb7Z70HzlwQjgWp7/img/CaseManagement/UnlinkReferenceFromRecord.png?fit=max&auto=format&n=sb7Z70HzlwQjgWp7&q=85&s=0392665eb1edf819c7d3cf518a6e2059" width="2336" height="964" data-path="img/CaseManagement/UnlinkReferenceFromRecord.png" />
</Frame>

***

## Update File Column

The **‘Update File Column’** action allows you to update or replace the file stored in a case management table’s file column.

<div className="integrations-table">
  | Parameter                                                                                                   | Description                                                                |
  | ----------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
  | Table Name                                                                                                  | The name of the table containing the record you want to update.            |
  | Record ID                                                                                                   | The ID of the record to update.                                            |
  | File Column                                                                                                 | The name of the file column to update.                                     |
  | [File Identifier](/docs/workflows/building-workflows/files#expression-language-and-variable-picker-support) | The identifier of the file to store. Leave empty to clear the file column. |
</div>

<Frame>
  <img src="https://mintcdn.com/blinkops-2/eYBWt8P9ffT1rzVW/img/CaseManagement/UpdateFileColumn.png?fit=max&auto=format&n=eYBWt8P9ffT1rzVW&q=85&s=3ecd81a3f22a94f6d3c979499a5b88e9" width="2320" height="792" data-path="img/CaseManagement/UpdateFileColumn.png" />
</Frame>

***
