https://prefect.io logo
Title
t

Tomas Moreno

08/31/2022, 4:16 PM
hey team! I'm working with prefect 1.0 and curious about triggering a flow in one tenant, when a flow in another tenant finishes successfully. I think it may be possible with a graphql query similar to this post https://stackoverflow.com/questions/68981899/create-flow-run-on-localhost-with-http-request-how-to-pass-parameters-graphql. I'm curious if anyone has any alternatives that they think are better. I'm also trying to find my graphql endpoint from these instructions https://docs-v1.prefect.io/orchestration/server/deploy-local.html#ui-configuration, but I don't see a prefect server tab, anyone know what's going on?
a

Anna Geller

09/01/2022, 12:33 AM
It might be possible but would be hard, running all related flows in a single tenant would be recommended
t

Tomas Moreno

09/01/2022, 1:43 PM
We wanted to keep tenants separated. I think we figured something out using a prefect
Client
object for each tenant and a custom state handler to trigger flows.
a

Anna Geller

09/01/2022, 4:01 PM
Thanks for the update