Is it possible to name a flow run with the flow.ru...
# ask-community
g
Is it possible to name a flow run with the flow.run() function? We are currently using the client.create_flow_run() function but we need this call to be synchronous as to not overload our data warehouse. Appreciate any advice!
m
Hello Gage!
create_flow_run
mutation takes optional
flow_run_name
string.
g
Yep! We like the ability to name the flow run when using create_flow_run but we’d like to execute the flow synchronously. Is that possible?
k
Hi @Gage Toschlog, I think the way to get a flow to run synchronously would be to use the
StartFlowRun
task with
wait=True
so that it waits for completion. You can also pass the
run_name
to this Task.
g
Awesome. I’ll look into that