<@U06RKAMK0UC> Can I get the workflow or launchpla...
# ask-ai
b
@ancient-wolf-19325 Can I get the workflow or launchplan name (not execution id) from
flytekit.current_context()
j
No, you cannot directly retrieve the workflow or launchplan name from
flytekit.current_context()
. According to this discussion, the workflow name is not available in the current context, and it has been suggested that this feature could be added in the future. Would you like more detail on this topic? Sources: - this discussion 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.
b
@ancient-wolf-19325 is there a way to get the workflow or launchplan name? And is there an open feature request
j
Currently, there is no direct way to get the workflow or launchplan name from within a task in Flyte. However, there are discussions and feature requests related to this. According to this discussion, the workflow name is not available in the current context, and it has been suggested that this feature could be added in the future. Additionally, there is an open feature request to improve the listing of workflows and launch plans in FlyteRemote, as seen in this GitHub issue. Would you like more detail on these discussions or feature requests? Sources: - this discussion - GitHub issue 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.