Question: now sure where the is should go If I ha...
# ask-community
j
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
You can look at the states of the other flow runs
j
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
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?