Development Mode and Production Mode

  • Last update: March 11, 2025
  •  

    Overview

    Version

    FineDataLink Version

    Function Description

    4.1.7.3

    /
    4.1.8.2

    Added a version comparison function for published tasks.

    Application Scenario

    You may need to separate task development and editing from task execution. In other words, you want to edit and modify scheduled tasks and perform task commissioning in a development environment, and then publish tasks to a stable production environment, ensuring that task development and execution do not interfere with each other.

    Function Description

    Scheduled Task supports both Development Mode and Production Mode, with code isolated between the two environments.

    You can publish tasks in Development Mode to Production Mode with one click.

    Compatibility Description

    • All published scheduled tasks exist in both development and production environments. By default, the Task Record page under O&M Center > Scheduled Task > Running Record displays running records of scheduled tasks in Production Mode.

    • The event-based scheduling plan of scheduled tasks judges the task running record in the production environment only. Instances generated by running their dependent tasks in the development environment will not trigger task execution.

    • The Task Record page displays task running records in Production Mode only, excluding those in Development Mode.

    • When using the Open Platform plugin to invoke tasks via APIs, you can invoke tasks in the production environment only. If no task exists in the production environment, the system will return an error.

    • The license limits the number of tasks that can be published to the production environment, whereas the number of tasks in the development environment is unrestricted.

    • When you migrate a scheduled task, the exported and imported content includes the task in both development and production environments and its scheduling plans.

    Mode Description

    • Development Mode is equivalent to the test environment of tasks, where you can design and edit tasks. All modifications will not affect tasks in Production Mode. You can publish tasks in Development Mode.

    • Tasks in Production Mode are rarely modified and can only be viewed. You can set scheduling plans for these tasks to realize timed scheduling. You can publish tasks in Development Mode to Production Mode. You can check the task publication status under O&M Center > Task Management.


    Development ModeProduction Mode

    Edit permission

    • Task Relation

    • Parameter List

    • Task Control: Fault Tolerance Mechanism, Result Notification, and Task Attribute

    • Task Information

    • Run

    • Save

    • Task editing and node design

    • Scheduling Plan: Timed Scheduling and Event-Based Scheduling

    • Task Relation

    • Task Information

    • Run

    View permission

    • Parameter List

    • Task Control

    Publication

    Click Data Development and create a scheduled task. You will be redirected to the task development page in Development Mode automatically. After designing and editing the task, click the Publish button, as shown in the following figure.

    3-1.png

    You can see the task version to be generated and the publication validation results. You can also add change descriptions and compare the current task and the task of a specified historical version, as shown in the following figure.

    3-2.png

    You can see the published task in Production Mode, as shown in the following figure.

    3-3.png

    The task status on the directory tree of Scheduled Task is changed to Published, as shown in the following figure.

    3-4.png

    If you modify and save the task in Development Mode, the task status will be changed to To Be Updated, as shown in the following figure.

    3-5.png

    Restoration

    If you do not want to retain the saved modifications to the content in Development Mode, you can click the Restore button to revert the task content to that in Production Mode, as shown in the following figure.

    4-1.png

    Other Description

    1. After you modify a published scheduled task, a small red dot will appear on the upper right corner of the Publish button, indicating that the content in Development Mode and Production Mode is inconsistent and requiring an update, as shown in the following figure.

    5-1.png

    Click Publish to publish the task to Production Mode.

    2. After you publish a scheduled task to Production Mode and set the scheduling frequency, the lastet version of the scheduled task in Production Mode will be executed.

    3. Changing the directory of a published scheduled task will not affect task execution.

    4. You cannot delete a task in Production Mode while retaining the task in Development Mode. You are advised to duplicate this scheduled task for commissioning.

    附件列表


    主题: Data Development - Scheduled Task
    • 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