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.  TN Transaction Status

    Posted Thu March 24, 2005 10:45 PM

    I have a transaction failed delivery to the partner because of some FTP access issue. The transaction processing status shows as done. But the activity log shows as error to deliver. How can this be linked to the procesisng status?. The user status also changed as per the setting in the procesisng rule. Is there any best way to find failed transactions?.


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


  • 2.  RE: TN Transaction Status

    Posted Thu March 24, 2005 11:09 PM

    Programically in your flow make use of TN changeStatus service and depending upon the FTP success/error you can explicitly set ProcessingStatus like “Processing Error” or DONE/W/Error status etc…for that bizdoc.So you may have to use some custom processing instead of TN FTP Delivery method.

    HTH,
    RMG.


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


  • 3.  RE: TN Transaction Status

    Posted Thu March 24, 2005 11:13 PM

    Jey,

    I can’t vouch it to be the best way, but here’s how I handle this in my flow that gets the status.

    Create a document query (based on receiver id, sender id, attribs, etc. - whatever is applicable in your case) and execute it to get results as a document list. Then loop over these results and within that loop create a taskQuery (for each document received by the TN a new task is created), joined on the document id (results/DocID) and document timestamp (results/DocTimestamp). The result of the task will show up as either PENDING, FAILED or DONE, which reflects the actual status of the processing.

    In my scenario, I have to do an extra step of filtering of the results obtained from the document query, based on the timestamp of the document… you too might have to use a some additional logic to ensure that you create a task query just for the document that you are interested in. In other words… you will need to find a way to uniquely identify your document(s) that you want to find the status of.

    HTH,
    Rohit


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


  • 4.  RE: TN Transaction Status

    Posted Thu March 24, 2005 11:27 PM

    This is bit disappointing to me. TN is to provide guranteed delivey of documents with out involving any extra flows and services and with correct statues. At least the tasks screen must show the failed tasks based on the query entered in the query. But it shows only the task for selectecd transaction.


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


  • 5.  RE: TN Transaction Status

    Posted Thu March 24, 2005 11:32 PM

    I was wrong. I am able to see all the tasks based on the query directly Views->Tasks. This is ok to manage.


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


  • 6.  RE: TN Transaction Status

    Posted Fri March 25, 2005 01:27 AM

    Jey,

    Yes… the taskQuery gives you the correct status… that’s what I mentioned in my reply earlier, - getting the status by doing a taskQuery. I think I misunderstood you and gave a solution that uses a flow service to get the status… if you are trying to get the status from the TN Console itself, you can use the Task tab or the Activity tab, both will show u the correct status.

    As far as the status in the transaction analysis is considered… my understanding is indicates that the processing is complete, which indeed is… what happened as the result of the processing is a different story and can be obtained using the taskQuery.

    Cheers,
    Roh


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


  • 7.  RE: TN Transaction Status

    Posted Fri March 25, 2005 01:49 AM

    Jey,

    Even i have misunderstood your query and started saying about using of flow,if TNConsole Tasktab query helps what you are lookfor then it is clarified and i think rohit’s suggestion helped u some extent atleast.

    goodluck,


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