You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had searched in the issues 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
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
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.
Search before asking
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
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
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: