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

TN processing status change

webMethods Community Member

webMethods Community Member01/13/20 12:41 PM

  • 1.  TN processing status change

    Posted 05/26/17 08:24 AM

    Hi All,

    Can you please share the information about how the TN is changing the processing status of document? From where the TN processing status service is invoked? I dont see anywhere we defined in a service to change the processing status. But the status of a message is being changed automaically to DONE or DONE W/ ERROR, or etc.

    Kind Regards,
    Preethi


    #Integration-Server-and-ESB
    #edi
    #webMethods


  • 2.  RE: TN processing status change

    Posted 05/26/17 08:40 AM

    System will change “Process Status” automatically.
    You may invoke a service to change “User Status” for reference by invoking this service:

    wm.tn.doc:changeStatus


    #edi
    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: TN processing status change

    Posted 05/29/17 04:51 AM

    Hello Rocky,

    Thanks for for your reply!

    How this is an automatic? What I am assuming is that the system status is changing form the Build in service like "tn.resubmit, rn.submit,…'. Can someone correct me?


    #edi
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: TN processing status change

    Posted 05/30/17 09:38 AM

    Hi Preethi,

    There are two types of status in TN one is Processing Status and other one is User Status.

    Processing Status will be handled internally based on the output of the transaction. (Success/Failure)
    User Status can be set at design time in Processing Rules.

    Regards,
    Syed Faraz Ahmed


    #edi
    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: TN processing status change

    Posted 05/30/17 05:21 PM

    Yes and

    Processing Status will be handled internally based on the output of the transaction. (Success/Failure/un-recognized/unknown) by TN out-of-box functionality (check TN documentation pdf for more info)
    TN Transactions…User Status can be set at design time in Processing Rules and also by using (WmTN) wm.tn.doc:changeStatus service in the flow.

    HTH,
    RMG


    #edi
    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: TN processing status change

    Posted 01/09/20 11:06 PM

    Hello Experts,

    May I know how can I change the user status before sending it to TN?


    #webMethods
    #Integration-Server-and-ESB
    #edi


  • 7.  RE: TN processing status change

    Posted 01/10/20 02:47 AM

    Hi,
    You will use service like wm.tn.doc.xml:routeXml to send data to TN that will return bizdoc as one of the output. You have to use bizdoc spec (wm.tn.rec:BizDocEnvelope) to update user status.


    #webMethods
    #Integration-Server-and-ESB
    #edi


  • 8.  RE: TN processing status change

    Posted 01/10/20 02:57 AM

    Hello Senthil,

    Thank you for your response.
    The thing is, the reason why I want to update this user status because I would like to use that as a checking in my processing rule in TN to know which service to invoke. On my case, I am creating EDIFACT and want to send to TN with user status “completed” before sending to TN. I am using wm.tn.doc.xml:routeXml to send data to TN. Do i need to add the wm.tn.rec:BizDocEnvelope before this step? or I need to add it inside the routeXml service to “ServiceOut”?


    #edi
    #Integration-Server-and-ESB
    #webMethods


  • 9.  RE: TN processing status change

    Posted 01/10/20 02:41 PM

    Hi Mor,

    As Senthil mentioned you will need to have bizdoc (of the transaction) in the pipeline that you wanted to changeStatus… You cannot do preprocessing unless the particular TN transaction persisted already and wanted to changeStatus for that record/s.

    You can also use doc:view (providing required I/p params) service to retrieve the bizdoc (already persisted) in the pipeline and call the changeStatus (to Completed)

    HTH,
    RMG


    #Integration-Server-and-ESB
    #edi
    #webMethods


  • 10.  RE: TN processing status change

    Posted 01/11/20 12:52 AM

    There is a service in WmTN folder which can be used the change the user status on the fly. Review TN services guide.


    #Integration-Server-and-ESB
    #webMethods
    #edi


  • 11.  RE: TN processing status change

    Posted 01/13/20 07:14 AM

    Thank you RMG and Mahesh for your response. I used routeXml and changeStatus as a solution for this.


    #Integration-Server-and-ESB
    #webMethods
    #edi


  • 12.  RE: TN processing status change

    Posted 01/13/20 12:41 PM


  • 13.  RE: TN processing status change

    Posted 01/16/20 06:08 AM

    Hello Sir RMG / Sir Mahesh,

    Could you help me on my new query on the below link:
    http://tech.forums.softwareag.com/techjforum/posts/list/0/70034.page#239509

    Thank you!


    #edi
    #webMethods
    #Integration-Server-and-ESB