Edit Lock for Tasks Against Concurrent Editing

  • Last update: August 27, 2025
  • Overview

    Version

    FineDataLink Version
    Functional Change

    4.1.6.3

    Added task edit locks to prohibit concurrent editing of scheduled tasks, pipeline tasks, API tasks, and data service apps by multiple users.

    Application Scenario

    When a task is opened and edited by multiple users simultaneously, the content saved later will overwrite the earlier saved version, resulting in the accidental deletion of the previously developed work.

    Function Overview

    FineDataLink employs task edit locks to prohibit concurrent editing of scheduled tasks, pipeline tasks, API tasks, and data service apps by multiple users.

    A task currently being edited by one user is locked against editing by others. Other users opening it can only view the task and will receive a prompt "The current task/service/application is being edited by Username.", as shown in the following figure.

    1.3.png

    Scenarios Where Edit Locks Occur

    Applicable objects: scheduled tasks, pipeline tasks, API tasks, and data service apps

    Scenarios where edit locks occur:

    • Multiple users open the same scheduled task/pipeline task/API task/data service app.

    • A user opens multiple tab pages in the same browser/multiple pages in different browsers.

    Function Description

    Data Development

    Task Edit Lock Object: Scheduled Tasks

    1. If User B and User C open the same scheduled task that User A is editing, B and C will receive a prompt "The current task is being edited by A.", indicating that B and C cannot edit the task and can only view it, as shown in the following figure.

    3.1.1-1.png

    2. When User A exits the task editing page without clicking Save, User B and User C will receive a prompt on their editing page "A has exited editing." The FineDataLink project will automatically assign editing permission to the user (B/C) who clicks Refresh first. If User B obtains editing permission, User C will receive a prompt "The current task is being edited by B."

    3. When a user clicks Save and exits the editing page, the other users will receive a prompt on their editing page "XX has exited editing. The configuration of the current task has been updated. Refresh it promptly.", as shown in the following figure.

    Whoever clicks Refresh first will gain editing permission.

    3.1.1-2.png

    Task Edit Lock Object: Toolbar

    If a scheduled task is being edited by a user, Save and Run on the toolbar will be disabled for other users, as shown in the following figure.

    3.1.2.png

    When an edit lock occurs, the toolbar is described as follows.

    1. Task InformationScheduling Plan, and Task Control are not affected by the edit lock and follow the "later operation overwrites earlier one" logic.

    2. When the task editing page is in the edit-locked state, Parameter List only allows viewing.

    Task Edit Lock Object: Scheduled Task List

    If a scheduled task is being edited by a user, the other users can still rename or move the task, as shown in the following figure.

    3.1.3.png

    The details are as follows.

    1. Name and Description and Move to are not affected by the edit lock and follow the "later operation overwrites earlier one" logic. The Export function remains available.

    2. If a scheduled task is being edited by a user, the other users cannot delete the task.

    Pipeline Task

    iconNote:
    If a pipeline task is being edited by a user, the other users cannot delete the task.

    1. If Users B and C open the same pipeline task that User A is editing, B and C will receive a prompt "The current task is being edited by A." Users B and C can only view it, and all configuration items are grayed out, as shown in the following figure.

    3.2-1.png

    2. When User A clicks Save and exits the editing page, Refresh will be available on the editing page of Users B and C. Click Refresh to refresh the page and view the latest saved configuration, as shown in the following figure.

    Whoever clicks Refresh first will gain editing permission.

    3.2-2.png

    3. When User A exits the editing page without clicking Save, Users B and C will receive a prompt on their editing page "A has exited editing." The FineDataLink project will automatically assign editing permission to the user (B/C) who clicks Refresh first. If User B obtains editing permission, User C will receive a prompt "The current task is being edited by B."

    Data Service

    iconNote:
    If an API task/app is being edited by a user, the other users cannot delete it.

    Edit Lock Object: API Tasks

    1. If Users B and C open the same API task that User A is editing, B and C will receive a prompt "The current service is being edited by A." Users B and C can only view it, and all configuration items are grayed out, as shown in the following figure.

    iconNote:
    Users B and C can normally use Data Preview and Test Call.

    3.3.1-1.png

    2. When User A clicks Save and exits the editing page, Refresh will be available on the editing page of Users B and C. Click Refresh to refresh the page and view the latest saved configuration, as shown in the following figure.

    Whoever clicks Refresh first will gain editing permission.

    3.3.1-2.png

    3. When User A exits the editing page without clicking Save, Users B and C will receive a prompt on their editing page "A has exited editing." The FineDataLink project will automatically assign editing permission to the user (B/C) who clicks Refresh first. If User B obtains editing permission, User C will receive a prompt "The current service is being edited by B."

    4. When User A is editing an API task, other users cannot activate or deactivate the API task, as shown in the following figure.

    3.3.1-3.png

    5. If a user opens multiple tab pages in the same browser/multiple pages in different browsers and creates an API task in the same directory, the subsequently created task will be locked, as shown in the following figure.

    3.3.1-4.png

    Task Edit Lock Object: Apps

    1. If Users B and C open the same app that User A is editing, B and C will receive a prompt "The current application is being edited by A." Users B and C can only view it, and all configuration items are grayed out, as shown in the following figure.

    3.3.2-1.png

    2. When User A exits the task editing page without clicking Save, User B and User C will receive a prompt on their editing page "A has exited editing." The FineDataLink project will automatically assign editing permission to the user (B/C) who clicks Refresh first. If User B obtains editing permission, User C will receive a prompt "The current task is being edited by B."

    3. When a user clicks Save and exits the editing page, the other users will receive a prompt on their editing page "XX has exited editing. The configuration of the current task has been updated. Refresh it promptly.", as shown in the following figure.

    Whoever clicks Refresh first will gain editing permission.

    3.3.2-2.png

    Abnormal Scenario Description

    Abnormal ScenarioHandling Strategy

    User A opens a scheduled task. At this point, User A loses network connection, and User B also opens the same scheduled task.

    When User A reconnects after network disconnection:

    • If User B has exited the editing page, User A can continue editing the scheduled task.

    • If User B has not exited the editing page, User A will encounter an edit lock and receive the prompt "The current task is being edited by B."

    When User A is editing a scheduled task, User B enters the task viewing page. Then, User A exits the editing page, but the edit lock is still displayed on User B's page.

    The admin can open the task and release the lock:

    3.4.png

    When User A is editing Task 1, User B is modifying/deleting the configuration such as the tasks/data connections/server datasets referenced by Task 1.

    There is no lock. During the saving of Task 1, a configuration loss validation will be triggered.

    User A renames Task 1 Task 2 on the Task 1 editing page but has not clicked Save yet. User B renames Task 1 Task 3 in the task list. Finally, User A clicks Save.

    User A is the last to click Save, so Task 1 is ultimately renamed to Task 2.


    附件列表


    主题: Data Development - Scheduled Task
    Previous
    Next
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy