https://prefect.io logo
Title
m

Michael Brown

06/04/2021, 3:23 PM
My agent is running but it seems like it is not picking up any flows. They are all behind schedule. I believe I configure my API and agent API correctly.
n

nicholas

06/04/2021, 3:26 PM
Hi @Michael Brown - from the screenshot you sent, it looks like there's a problem with labels on your flow; your agent will only pick up flows whose labels it has. For more information on this, check out these docs.
c

Chohang Ng

06/04/2021, 3:43 PM
I am collaborating with @Michael Brown on this. I think the label is consistent. But when I click on the parent flow from the dashboard, it is not showing the same label as what I see from the dashboard and I can't add or change anything
n

nicholas

06/04/2021, 3:44 PM
Do you have any labels on your agent? You can check this by clicking the "View details" button on the agent tile of the dashboard
c

Chohang Ng

06/04/2021, 4:28 PM
n

nicholas

06/04/2021, 4:59 PM
Perfect - since your agent has a label (
MichaelB-T7600
), it won't pick up your flow unless the agents are matching, which is the case in the last screenshot you posted but not the other 2
c

Chohang Ng

06/04/2021, 5:02 PM
but it is matching the label from the third screenshot
which label is it supposed to match and how can I change the label? Doesn't seem like it let me
n

nicholas

06/04/2021, 5:20 PM
As I mentioned above, your agent will only pick up runs when the agent has at least every label that the run has. In the first screenshot you posted, from the late run, there are no labels on that run. Adding
MichaelB-T7600
to that run should allow the agent to pick it up.
c

Chohang Ng

06/04/2021, 5:33 PM
I figured it out. Thanks
👍 1