IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#TechXchangePresenter
 View Only
  • 1.  Return provider response(Exit all parrent flow) from child flow

    Posted Wed December 16, 2020 02:11 AM

    Is there anyway to exit all parent flow from a child flow?

    Example:
    I have a provider for “demo1” flow, in demo1 It call a flow named “flowChild”
    image image
    Can I return response for provider by writing logic in “flowChild”


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Return provider response(Exit all parrent flow) from child flow

    Posted Wed December 30, 2020 03:07 AM

    There is no way to exit parent flow from child flow , is same with java, you cannot return a parrent function when running in child function


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Return provider response(Exit all parrent flow) from child flow

    Posted Mon January 11, 2021 12:43 PM

    In FlowChild you can add an output variable to which you can map your response data.

    When calling exit in flow child this will only exit from flowChild without completing the implementation after the exit step.

    Regards,
    Holger


    #webMethods
    #Integration-Server-and-ESB


  • 4.  RE: Return provider response(Exit all parrent flow) from child flow

    Posted Mon January 11, 2021 12:59 PM

    I don’t think it’s applicable to many situations, but you could use a Java service to throw a com.wm.app.b2b.server.ServiceException. That would force everything to stop all the way up call stack until it ran into some kind of catch block (or ran out of things to fail out of).


    #Integration-Server-and-ESB
    #webMethods