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
Expand all | Collapse all

Initiate a Business Process with a publishAndWait

  • 1.  Initiate a Business Process with a publishAndWait

    Posted Wed April 06, 2011 05:19 AM

    Normally a process starts with Receive Step which listens to a publishable document. To initiate the process, you publish the document (or event) from somewhere.
    Let say I publish the doc from a service by invoking pub.publish:publish.

    My question: is it possible to invoke pub.publish:publishAndWait to wait for the reply back from the end of the process?
    The process does not involve Task but just calls a series of services.


    #webMethods-BPMS
    #BPM
    #webMethods


  • 2.  RE: Initiate a Business Process with a publishAndWait

    Posted Wed September 21, 2011 09:08 AM

    Jola:-

    You can easily get the sync response back from the the BPM. Generally publish is async and but if in deed have some webApps that invokes the BPM sync until bpm have sync reply back it can reply back the response.

    I had used the ublishAndWait for getting the reply as sync apps especially for UI based applications.


    #BPM
    #webMethods-BPMS
    #webMethods


  • 3.  RE: Initiate a Business Process with a publishAndWait

    Posted Fri September 23, 2011 08:28 PM

    One way of doing this is to use pub.publish:reply service in the flow service that you write for the step which takes in the document that you publish.


    #webMethods
    #BPM
    #webMethods-BPMS


  • 4.  RE: Initiate a Business Process with a publishAndWait

    Posted Tue January 10, 2012 06:24 AM

    Yes it is possible,

    You can use the publish step as the termination step of the BPM.


    #BPM
    #webMethods-BPMS
    #webMethods