Create a triggered node task

更新时间:
复制 MD 格式

You can create a triggered node task in Dataphin to run a computing task only when an external API call triggers it.

Limits

To use this feature, you must purchase OpenAPI and enable the endpoint.

Procedure

  1. On the Dataphin home page, navigate to Development > Data Development from the top menu bar.

  2. On the Development page, select Project from the top menu bar (Dev-Prod mode requires environment selection).

  3. In the left-side navigation pane, click Data Processing > Script Task. In the Script Task list, click the image icon and choose Triggered Node.

  4. In the New Triggered Node Task dialog box, set the following parameters:

    Parameter

    Description

    Task Name

    The task name. The name cannot exceed 256 characters and cannot contain vertical bars (|), forward slashes (/), backslashes (\), colons (:), question marks (?), angle brackets (<>), asterisks (*), or quotation marks (").

    The length must not exceed 256 characters and must not contain vertical bars (|), forward slashes (/), backslashes (\), colons (:), question marks (?), angle brackets (<>), asterisks (*), or quotation marks (").

    Schedule Type

    The schedule type of the task. Options:

    • Recurring Task: Automatically enrolls in the system's periodic scheduling.

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

    Select Directory

    The directory in which to store the task.

    If no directory exists, create a folder:

    1. Click the image icon at the top of the computing task list on the left side of the page to open the Create Folder dialog box.

    2. In the New Folder dialog box, enter the folder Name and select the Select Directory location.

    3. Click Confirm to create the folder.

    Description

    A brief description of the task, up to 1000 characters.

  5. Click Confirm.

    Note

    Note: Triggered nodes do not support code content editing.

  6. Click the Property tab in the right sidebar. In the Property panel, configure the Basic Information, Scheduling Properties, Schedule Dependency, and Run Configuration for the task.

    • Basic Information

      Define the task name, responsible person, description, and other basic details. For instructions, see or Configure Basic Information for Tasks.

    • Scheduling Properties

      Configure the task's scheduling properties, such as the scheduling cycle and effective date. For instructions, see and Configure Scheduling Properties for Offline Tasks.

      Important
      • Important: Triggered nodes do not support dry-run scheduling.

      • After a triggered node generates an instance, it remains in Waiting for Trigger status until it receives an external command, changing its status to Success.

    • Schedule Dependency

      Configure upstream and downstream dependencies for the task. For instructions, see or Configure Schedule Dependency for Offline Tasks.

    • Run Configuration

      Set the task-level run timeout and rerun policy. If not configured, the task inherits the default tenant-level settings. For instructions, see and Configure Run Settings for Computing Tasks.

  7. Click the image icon to submit the task.

  8. On the Submitting Log page, verify the Submission Content and the Pre-check results, and add comments if needed. For more information, see or Submit Offline Computing Tasks.

  9. Once confirmed, click Confirm And Submit.

What to do next