SeaTable icon

SeaTable

Consume the SeaTable API

Row → Lock

AI-generated

Overview

This node operation locks a specific row in a SeaTable table. It is useful in scenarios where you want to prevent concurrent modifications to a row, ensuring data integrity during updates or processing. For example, you might lock a row before performing a series of updates to avoid conflicts from other users or processes.

Use Case Examples

  1. Locking a row before updating its data to prevent concurrent edits.
  2. Locking a row to signal that it is being processed and should not be modified by others.

Properties

Name Meaning
Table Name The name of the SeaTable table to access. It can be selected from a list or specified using an expression.
Row ID The ID of the row to lock. It can be selected from a list dependent on the chosen table or specified using an expression.

Output

JSON

  • rowId - The ID of the locked row.
  • tableName - The name of the table containing the locked row.
  • lockStatus - The status indicating whether the row was successfully locked.

Dependencies

  • SeaTable API access with appropriate credentials

Troubleshooting

  • Ensure the table name and row ID are correct and exist in the SeaTable base.
  • Verify that the API credentials have permission to lock rows in the specified table.
  • Check for network connectivity issues that might prevent communication with the SeaTable API.
  • If the row is already locked by another process, the operation might fail or return a status indicating the lock could not be acquired.

Links

  • SeaTable API Documentation - Official API documentation for SeaTable, useful for understanding row locking and other operations.

Discussion