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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Sequence of Actions in Processing Rule

    Posted 07/17/06 02:08 PM

    Is there any sequence followed in executing actions in the Processing Rule?

    If we specify the a) Execute a Service action & b) Change the User status action, which once will be executed first?

    Is there any way to change the sequence? We need this requirement for our project where the Userstatus shld be changed first and then the service shld be executed?


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


  • 2.  RE: Sequence of Actions in Processing Rule

    Posted 07/17/06 02:26 PM

    You would be better off having your service change the status using wm.tn.doc:changeStatus rather than letting TN do it. That way you can completely control when the status gets changed. HTH,

    Tim


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


  • 3.  RE: Sequence of Actions in Processing Rule

    Posted 07/17/06 03:00 PM

    Tim
    Currently I was doing the same using wm.tn.doc:changeStatus. But just I want to know whether any sequence is followed and is there a way to change the sequence


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


  • 4.  RE: Sequence of Actions in Processing Rule

    Posted 07/17/06 05:31 PM

    AFAIK, the sequence of execution is undefined and cannot be controlled.

    Changing the status within the executed service is usually the way to go.


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


  • 5.  RE: Sequence of Actions in Processing Rule

    Posted 07/17/06 09:26 PM

    Ravi,

    Basically your execute service should handle the changeStatus and depends on your sequence of flow update the status in TN for the corresponding bizdoc.

    If you use TN processing rule to change the UserStatus it will update at the end of the service execution.

    HTH,
    RMG


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


  • 6.  RE: Sequence of Actions in Processing Rule

    Posted 07/18/06 10:33 AM

    Thanks RMG, Tim & Rob.Now, I was doing the same with the help of changeProcessStatus service.


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