Mule flow trigger another flow

172 Views Asked by At

I have 2 data sources I am building an integration for. I have a workflow that needs to do the following in this exact order:

  1. Get records from datasource1
  2. Post records into datasource2
  3. Get newly created record in datasource2
  4. Update records in datasource1 with id field from datasource2

I have to use 2 flow's because I have 2 inbound data points (step 1 and 3 above). However both step 1 and 3 are firing at the same time, which causes problems.

Here is my question: Is there a way for me to trigger the flow for step 3 at the end of the previous flow? Or does anyone have a suggestion for handling this differently?

0

There are 0 best solutions below