Skip to Content

Trigger integration flow based on the status

Hi Experts

We have requirement in HCI , Where we need to trigger the second integration flow once the first integration flow is in completed status .

Here we need some inputs how can we trigger a particular integration flow based on the completed status of the particular integration .

EX: we have two flows with names : IFLOW1, IFLOW2.

The IFLOW2 Need to be triggered once the IFLOW1 is in completed state .When ever the IFLOW1 is called and is in completed state ,Then the IFLOW2 need to be called for each and every execution of the IFLOW1.



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Best Answer
    Dec 20, 2018 at 07:54 AM

    Hello Ravikant,

    Process Direct adapter wont help you here because when you call your IFOW2 from IFLOW1 through process direct adapter control in IFLOW1 will wait till IFLOW2 get completed then final state of IFLOW1 is set to completed.

    Best way to achieve this is by using Datastore operation.Create an entry in iflow1 once it is completed and will be reading the datastore and actual processing gets started only when entry found in datastore( you might need to schedule IFLOW 2 to run very frequently but actual processing happens only when there is entry in datastore ).


    Sriprasad Shivaram Bhat

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 14, 2018 at 02:18 PM

    Hi Ravi,

    I guess this is what you are looking for :)



    Add comment
    10|10000 characters needed characters exceeded

  • Dec 14, 2018 at 11:29 AM

    Hi Ravikanth,

    Please try this. (I havent tried this anytime but seems like a valid solution)

    Best Regards

    Sravan Kumar

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Ravikanth/Sravan,

      The blog mentioned above is a valid solution and it will work.

      But this was the solution earlier. Now a days we can use process direct adapter and can easily achieve your scenario.

      Solution for your scenario:

      IFLOW1 - Add receiver processDirect adapter at the end of IFLOW1.

      Giving address value is our choice. We can give any value. But we need to ensure same value given in sender processDirect adapter of IFLOW2.

      IFLOW2 - Start the integration with sender processDirect adapter and use same config there as well..

      After this process, both flows will be interconnected and IFLOW2 will not be triggered if some exception/failures in IFLOW1.