webMethods

webMethods

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.  Change the running process instance status

    Posted Wed December 30, 2009 11:30 AM

    Hi All,

    I am trying explicitely Fail my running process instances on some conditions so was just wondering whats the difference between the tow changeProcessStatus services avaialbe under PRT package.

    Below is full namespace of the services.

    pub.prt.admin:changeProcessStatus
    wm.prt.monitor:changeProcessStatus

    Suggest which one is advisable to use?

    Thanks in advance for all quick suggestions.

    -nD


    #webMethods
    #webMethods-BPMS
    #BPM


  • 2.  RE: Change the running process instance status

    Posted Wed December 30, 2009 11:45 AM

    pub.prt.admin:changeProcessStatus - we have to use this service for changing the status as per Process engine user guide.

    As per my knowledge, wm.prt.monitor:changeProcessStatus this service used by ProcessEngine for internal purpose.(changing the status in Monitor/MWS)


    #webMethods-BPMS
    #webMethods
    #BPM


  • 3.  RE: Change the running process instance status

    Posted Wed December 30, 2009 11:50 AM

    Thanks for the quick comment Arul!

    Yea as u said, even SoftwareAG documentation suggest to use “pub.prt.admin:changeProcessStatus” service.

    Now seems like we still not have the clarity on the wm.prt.monitor:changeProcessStatus, lemme rephrase my situation … if i will use this service (monitor** one) … would the instances in WMPROCESS table will be updated or not?

    -nD


    #BPM
    #webMethods-BPMS
    #webMethods


  • 4.  RE: Change the running process instance status

    Posted Mon January 04, 2010 01:54 PM

    I would use neither of them but add terminate steps in the process. This create a call to wm.prt.monitor:changeProcessStatus but makes the implementation more clear to follow in my opinion and follows BPEL standard.
    You just need to explicetly log error messages in this case as the runtime considers processes stopped by changeProcessStatus to be finished “as expected” and does not display implicit error messages thrown by steps.


    #webMethods
    #webMethods-BPMS
    #BPM