You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/03/09 08:34:36 UTC

[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #8770: [Feature][API] Custom built-in parameters

github-actions[bot] commented on issue #8770:
URL: https://github.com/apache/dolphinscheduler/issues/8770#issuecomment-1062675757


   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar feature requirement.
   
   
   ### Description
   
   Chinese description:
   [Function] [API] Customize built-in parameters
   Workflows in all projects can get custom built-in parameters.
   
   ### Use case
   
   At present, the built-in parameters provided in the latest version 2.0.5 are based on T-1 and other related time parameters, but the financial industry (securities) is relatively special. The time for the scheduled batch running task is not T-1 (the batch running time parameter is not fixed), but trading day. Since the time parameters of each workflow are the same (the previous trading day), parameters between workflows cannot be passed, only parameters within the same workflow can be passed. Therefore, in order to obtain the same time parameter for all workflows, the first task we start in each workflow of all projects is to obtain the trading day, set it as the time parameter, and pass it on as a parameter. We hope that built-in parameters can be customized to facilitate access to all workflows.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org