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.

 View Only
  • 1.  Trading Networks order of task execution

    Posted Fri March 16, 2018 10:56 AM

    Hello there,

    For a TN processing rule we have set two actions:

    • Execute a service: execution mode- Service execution task
    • Deliver document by - Delivery Type: Immediate delivery

    The service is used for mapping.

    The problem is that when the transaction is started, both the service execution task and the delivery task are started in the same time. Is there a way to set it that the delivery task gets executed just after the service execution task is completed?

    We chose the Service execution task because we would like to see the pipeline in MWS (which is passed to the serviceOutput document).

    Thank you in advance!
    Best regards,
    n23


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Trading Networks order of task execution

    Posted Mon March 19, 2018 12:23 PM

    Do you have service execution mode set to Synchronous?

    According to TN admin guide, if you do this:
    Invokes the service once, waits for the service
    to complete, and places the results in the pipeline. You
    can use the service results in output templates or other
    processing actions.

    I believe this is what you are trying to do?


    #webMethods
    #Integration-Server-and-ESB
    #B2B-Integration


  • 3.  RE: Trading Networks order of task execution

    Posted Mon March 19, 2018 12:26 PM

    Further reading shows that “service execution task” processing and information returned to the caller are the same as for Asynchronous.
    I believe this is your problem.


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 4.  RE: Trading Networks order of task execution

    Posted Mon March 19, 2018 05:30 PM

    Hi,

    As far as I know there only 3 options: service execution task, synchronous and asynchronous. If I choose synchronous, it won’t be treated as a task and therefore it won’t have the serviceOutput document as output. Do you know if there is a way to set it as a synchronous service execution task?


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods