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.  Link the process instance

    Posted Sat May 14, 2011 10:47 PM

    Hi,
    Is there any way to link the process instance?
    I don’t want to start an instance if the previous one isn’t completed:confused:
    This forum is my last chance :sad:
    Thank you.


    #webMethods
    #webMethods-BPMS
    #BPM


  • 2.  RE: Link the process instance

    Posted Sun May 15, 2011 08:07 AM

    Process Instances are independent of each other… The ‘n’ number of times you publish a document to broker (for eg), ‘n’ number of instances gets created…

    What is the use case behind?

    Senthil


    #BPM
    #webMethods-BPMS
    #webMethods


  • 3.  RE: Link the process instance

    Posted Sun May 15, 2011 04:01 PM

    I want to run my modelisation under some business constraints.
    for eg : i have 3 step (receive-> treatment ->send)
    n instance could not start before the treatment of n-1 instance.
    Thanks


    #webMethods
    #BPM
    #webMethods-BPMS


  • 4.  RE: Link the process instance

    Posted Mon May 16, 2011 05:10 AM

    You might have to do a work around to achieve this behaviour, as i dont think there is a direct way to link ‘n’ and ‘n-1’ process instances…

    If i assume your process is invoked by broker document, write a logic before publishing to see if all the instances are completed…

    Invoke pub.monitor.process.instance:getRecentlyCompleted service to list the recently completed process instances…

    HTH
    Senthil


    #webMethods
    #BPM
    #webMethods-BPMS


  • 5.  RE: Link the process instance

    Posted Mon May 16, 2011 07:50 AM

    You may want to refer process engine guide’s ‘Tracking Process Completion’ topic and see if that helps in your case.


    #BPM
    #webMethods
    #webMethods-BPMS


  • 6.  RE: Link the process instance

    Posted Mon May 16, 2011 04:44 PM

    I think it is simpler than that. You should be able to serialize processing of the document though I don’t have the details on how that is done for a process definition. Perhaps on the receive step?


    #BPM
    #webMethods
    #webMethods-BPMS


  • 7.  RE: Link the process instance

    Posted Tue May 17, 2011 08:55 AM

    I used pub.monitor.process.instance:getInstanceList twice
    1/ without step ID
    2/With step id (step id of my treatment)
    then i compare the two result.
    thank you


    #webMethods-BPMS
    #webMethods
    #BPM