hey team! I'm working with prefect 1.0 and curious...
# ask-community
t
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
It might be possible but would be hard, running all related flows in a single tenant would be recommended
t
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
Thanks for the update