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.  Cannot change user status of Document

    Posted 10/21/08 05:12 AM

    Hi All

    I am still a junior developer learning webMethods.

    I believe I have a simple question.
    I want to change the User Status of a document.
    I invoke the service, wm.tn.doc.changeStatus and supply the bizdocid and the new user status. However the user status of the document does not change, the flow service wm.tn.doc.changeStatus just times out when I run it in Developer.
    The user status of the document does not change?

    I was wondering why this is so?


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


  • 2.  RE: Cannot change user status of Document

    Posted 10/21/08 07:03 AM

    Hi All

    I found the answer.
    I was trying to modify the User Status of an existing document but I read in the webMethods TN Inbuilt Services manual you cannot use this service for an existing document.
    This service can only be used for a new document.
    To update an existing document you can use the wm.tn.doc:updateSystemAttributes.

    Regards
    Kevin


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


  • 3.  RE: Cannot change user status of Document

    Posted 10/21/08 03:42 PM

    But what are you trying to actual update ProcessingStatus or UserStatus of the Document??

    You can indeed update the already persisted document…do you see the bizdoc object in the pipeline?? ChangeStatus needs this input to update the existing document.

    HTH,
    RMg


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


  • 4.  RE: Cannot change user status of Document

    Posted 10/21/08 05:19 PM

    Hi Kelvin,

    You should be able to use the wm.tn.doc:changeStatus service for an existing document. But you may need to invoke wm.tn.doc:view first to get the bizdoc.


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