Create a check node task

更新时间:
复制 MD 格式

A check node validates whether specified conditions are met before downstream tasks run. You can configure check conditions, stop policies, and scheduling properties for a check node task.

Procedure

  1. In the top menu bar of the Dataphin homepage, select Develop > Data Development.

  2. From the top menu bar on the Develop page, select a Project. If you are using Dev-Prod mode, you must also select an environment.

  3. In the navigation pane on the left, choose Data Processing > Script Task. In the Script Task list, click the image icon and select Check Node.

  4. In the Create Check Node Task dialog box, configure the following parameters.

    Parameter

    Description

    Task Name

    Enter a name for the code task.

    The name can be up to 256 characters long and cannot contain the following characters: vertical bar (|), forward slash (/), backslash (\), colon (:), question mark (?), angle brackets (<>), asterisk (*), and double quotation mark (").

    Schedule Type

    Select a schedule type for the task. The following options are available:

    • Recurring Task: The task is automatically scheduled to run at regular intervals.

    • One-Time Task: Check nodes do not support one-time tasks.

    Select Directory

    Select the directory in which to store the task.

    If the directory does not exist, create a folder by performing the following steps:

    1. Above the list of computing tasks on the left, click the image icon to open the Create Folder dialog box.

    2. In the Create Folder dialog box, enter a folder Name and select a Directory location as needed.

    3. Click OK.

    Description

    Enter a description of the task. The description can be up to 1,000 characters long.

  5. Click OK.

    Note

    You cannot edit the code of a check node.

  6. Click Property in the right-side sidebar. In the Property panel, configure the task's Basic Information, Check Conditions, Scheduling Properties, Schedule Dependency, Runtime Configuration, and Resource Configuration.

    • Basic Information

      Specify basic information for the task, such as the name, owner, and description. For more information, see Configure basic task information.

    • Check Conditions

      Parameter

      Description

      Check Object

      Select the object to check. Only Real-time Integration Task is supported.

      Real-time Integration Task

      Select the real-time integration task to check. You can select any submitted real-time integration task within the current tenant.

      Output Table

      Select an output table from the selected real-time integration task to check.

      Offset Check

      Select Offset from scheduled time or Specify offset.

      • Offset from scheduled time: Enter an integer from -1440 to 1440. The default value is 3 minutes.

      • Specify offset: Supports variables. For example, use the scheduled time variable $[yyyy-mm-dd HH:mm:ss] or a specific time such as $[yyyy-mm-dd 15:00:ss]. After configuration, click Preview to preview the parameter value.

      Stop Check Policy

      At the scheduled check time, the system periodically retries based on this policy. If the condition is still not met after all retries, the check is stopped.

      The total check duration cannot exceed 720 minutes (12 hours). The default check interval is 3 minutes and the number of checks is 10. The minimum interval is 1 minute with a maximum of 720 checks. The maximum interval is 10 minutes with a maximum of 72 checks.

    • Scheduling Properties

      Configure scheduling properties such as the scheduling cycle and time. For more information, see Configure scheduling properties for offline tasks.

    • Schedule Dependency

      Configure upstream and downstream dependencies for the task. For more information, see Configure schedule dependencies for offline tasks.

    • Runtime Configuration

      Set a task-level runtime timeout and a retry policy for failed tasks. If not configured, the task inherits the tenant-level defaults. For more information, see Configure runtime for computing tasks.

    • Resource Configuration

      Assign a resource group to the task. The task uses resources from this group at runtime. For more information, see Configure resources for computing tasks.

  7. Click the Submit icon above the editor pane to submit the current task.

  8. On the Submitting Log page, review the Content to Submit and Pre-check results, and enter any remarks. For more information, see Guidelines for submitting offline computing nodes.

  9. Click Confirm and Submit.

What to do next