Skip to content

[Feature] DSS task flow supports recognition of ${run_today_h}, datachecker: supports recognition of ${run_today_h} #1057

@wxyn

Description

@wxyn

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Problem Description

Add a new date variable to enable the task to obtain the hour of the scheduled time

Description

Variable name illustrate example
run_today_h Indicates the hour when the workflow is currently started 2022051915
run_today_h_std Represents the hour standardized format currently invoked by the workflow 2022-05-19 15

Application Scenario

  1. Datachekcer performs database table checks
    image

  2. Sendmail email header
    image

  3. Batch scheduling after publishing to schedulis

Use case

No response

solutions

  1. Reuse variables from Linkis to replace the VariableUtils class for unified variable replacement. We need to synchronize and modify on the linkis side.
  2. The workflow nodes of DSS, such as DataCheck SendEmail, need to support this variable.
  3. Synchronize modifications to the schedulis plugin jobType.

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions