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.  Duplicate checking

    Posted 07/07/05 09:25 PM

    Hi,

    I have a requirement where in i have to check for duplicate documents by sender+receiver+GroupControlNumber.so i have selected the pre-processing action “check for duplicates by sender,receiver and documentID”,which does the work and creates an error varaible Saving in the bizdoc.
    the thing is i have to compare the current transaction with the previous transaction which has the same sender+receiver+groupcontrolnumber.depending on that i have to do different processing for each condition.(splitoption is group)
    Can anyone tell me how to do this?

    ramesh.


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


  • 2.  RE: Duplicate checking

    Posted 07/07/05 10:48 PM

    You can use the services in the wm.tn.query folder to retrieve previous documents.


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


  • 3.  RE: Duplicate checking

    Posted 07/08/05 02:46 PM

    Rob,
    As you have said,i used createDocumentQuery and documentQuery of wm.tn folder.This identified the document but i cannot see the EDI data anywhere in the pipeline.do i have to call any other service to get the data?

    Thanks,
    ramesh


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


  • 4.  RE: Duplicate checking

    Posted 07/08/05 03:05 PM

    Rob,

    I got it using wm.tn.doc:view and bytesToString.wm.tn.doc:view takes internalId as the input and returns the bizdoc.

    Thanks,
    ramesh.


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


  • 5.  RE: Duplicate checking

    Posted 07/08/05 07:05 PM

    That’s exactly the right process. Glad you got it working.


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