https://flyte.org logo
#ask-the-community
Title
# ask-the-community
s

Sabrina Lui

01/26/2023, 11:29 PM
flytectl
question: Is it possible to use
flytectl create execution
to execute a workflow from an execution spec yaml (not relaunch or recover an existing run)? The docs only describe retrieving the execution spec of a task using
get tasks --execFile
, which isn't a supported option for
get workflow
. I tried using
get workflow-execution-config --attrFile
but this returns more of a workflow definition than execution spec.
k

Ketan (kumare3)

01/27/2023, 12:15 AM
@Sabrina Lui this should be possible
@Sabrina Lui actually just realized, you have to use
get launchplan
example
Copy code
flytectl get launchplan --project flytesnacks --domain development core.control_flow.conditions.bool_input_wf --version v0.3.70 --execFile t.yaml
But i think
get workflow
should allow you to do this for the default launchplan
74 Views