https://prefect.io logo
Title
j

J

05/18/2023, 7:13 PM
Question: now sure where the is should go If I have 3 different flows. How can I pass some kind of correlation? I’ve got an api which kick starts a flow. Then once the api has finished, it’ll report back to prefect to schedule another separate flow. Now I want to use prefect to look across the 2 flows and see what happened. Eg, if one failed. Where did it fail. Was flow 1 or flow 2? Can I tie them together in this way?
1
z

Zanie

05/18/2023, 8:26 PM
You can look at the states of the other flow runs
j

J

05/18/2023, 8:30 PM
But they’re not related?
Flow 1 does ABC and flow 2 does XYZ. The reason they’re seperated is because there’s a manual approval step that needs to take place. So we kick start flow 2, via an api call
So if I’ve got loads of flow 1 executions and loads of flow 2. How do I know which flow 1 started flow 2?
1
z

Zanie

05/18/2023, 9:05 PM
No need to send the message to the channel again 😄
Can you send the first flow run id to the second flow run as a parameter?