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.

 View Only
Expand all | Collapse all

bizDoc attributes not getting captured

  • 1.  bizDoc attributes not getting captured

    Posted Wed March 13, 2013 02:50 AM

    Hi,

    I couldn’t see the attributes which I’m trying to capture in the bizDoc.

    1. wm.tn.doc:recognize
    2. map step where I set the attribute with value
    3. routeBizdoc

    Please let me know where I’m doing the mistake.

    Regards,
    Sam.


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


  • 2.  RE: bizDoc attributes not getting captured

    Posted Wed March 13, 2013 07:33 AM

    How do you set the attribute? You got to use two services to set and update the attribute inside bizdoc.

    wm.tn.doc:setAttribute - you could call this ‘n’ number of times to add one or more attributes in bizdoc
    wm.tn.doc:updateAttributes - this updates all the attributes info in the TN database.

    -Senthil


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


  • 3.  RE: bizDoc attributes not getting captured

    Posted Wed March 13, 2013 04:04 PM

    What are you trying to retrieve/extract or set/update attributes?

    Do you see the bizdoc in the pipeline?

    HTH,
    RMG


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


  • 4.  RE: bizDoc attributes not getting captured

    Posted Wed March 13, 2013 07:28 PM

    Hi RMG, Senthil,

    I see the bizdoc in pipeline, where I tried both using map step (setting the Attributes) and even i tried using “wm.tn.doc:setAttribtue” service I couldn’t see the attributes in “attributes” tab.


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


  • 5.  RE: bizDoc attributes not getting captured

    Posted Wed March 13, 2013 07:56 PM

    Have you created new attribute already via TNC or programmatically wanted to create one and update value to see it via Transaction Analysis for that document?


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


  • 6.  RE: bizDoc attributes not getting captured

    Posted Thu March 14, 2013 08:25 PM

    Hi RMG,

    No I didn’t create any attribute via TNC or programmatically.

    Just I’m trying to display the InvoiceNumber which I see in xml file. In my beta/prod its working fine and not in my local machine. It looks like something I’m missing in my local machine settings.

    Regards,
    Sam


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


  • 7.  RE: bizDoc attributes not getting captured

    Posted Thu March 14, 2013 08:47 PM

    may be can you cross check with ur env…


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


  • 8.  RE: bizDoc attributes not getting captured

    Posted Mon March 18, 2013 01:32 PM

    HI RMG,

    After your query “did I create any new attribute in TNC” verified in documents. By that,

    1. First, we need to do “Add document attributes” using MWS
    2. Second, we can get the custom attributes in 2 ways
    • Just by setting the “attributes” in the bizdoc in the flow service OR
    • In the “document Type” >> Extract >> Attributes to Extract >> we can set the attributes with query

    This solved my issue. Thanks RMG and Senthil in helping me.

    Regards,
    Sam.


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


  • 9.  RE: bizDoc attributes not getting captured

    Posted Mon March 18, 2013 02:42 PM

    Yes you are in the right direction…your welcome:


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