:wave: Hello, I managed to create a flow run by u...
# ask-community
a
👋 Hello, I managed to create a flow run by using the api docs but its not being executed. Its stuck in
Pending
state. Upon further investigating, I noticed that the above mentioned flow_run don't have a "work_pool" set. I already have a work pool created but its not being attached to my flow_run. Can someone please assist?
✅ 1
n
hi @Akshay this is likely because you hit
POST /create_flow_run
but that is just creating a flow run in the database, not scheduling anything to happen do you have a deployment you're trying to trigger? If so, you'll want to use
POST /create_flow_run_from_deployment
if you have more high level context I could be more helpful
🙌 1
a
I just tried
POST /create_flow_run_from_deployment
and it worked thanks alot
🙌 1
n
catjam