baratamavinash225 opened a new issue, #15690: URL: https://github.com/apache/dolphinscheduler/issues/15690
### 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 **What happened** I would like to extend the shell task to have default variables of WORKFLOW_NAME, WORKFLOW_INSTANCE_NAME, WORKFLOW_ID, WORKFLOW_INSTANCE_ID These variables can be used to track the logs, or use it for the external loggings such as splunk etc., **What you expected to happen** DolphinScheduler ShellTask to return with the WORKFLOW_NAME, WORKFLOW_INSTANCE_NAME, WORKFLOW_ID, WORKFLOW_INSTANCE_ID when the user performs or uses these variables in the script. ex: echo ${WORKFLOW_NAME} echo ${WORKFLOW_ID} echo ${WORKFLOW_INSTANCE_NAME} echo ${WORKFLOW_INSTANCE_ID} - should return the respective values pertained to the instance while running. **How to reproduce** Echo these variables post implementation to print the variables echo ${WORKFLOW_NAME} echo ${WORKFLOW_ID} echo ${WORKFLOW_INSTANCE_NAME} echo ${WORKFLOW_INSTANCE_ID} **Anything else** No response **Version** 3.1.x 3.2.x **Are you willing to submit PR?** Yes I am willing to submit a PR! **Code of Conduct** I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) ### 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
