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
  • 1.  use of provider filter in trigger

    Posted Thu August 16, 2018 01:17 PM

    Without the provider filter, the pub-sub interface works correctly. However, if i try to use the provider filter, the subscribe service fails to invoke.

    Publishable Doc looks like below -

    TestDocRequest
    TESTField1
    TESTField2
    TESTField3
    TESTField4

    In the trigger, I have tried using provider filter as follows -
    TestDocRequest.Field2 LIKE ‘%FormType_ABC%’

    Also, tried TestDocRequest.Field2 = ‘FormType_ABC’

    But both the filters fail to work.

    Is there something, I am missing out on?


    #Integration-Server-and-ESB
    #Universal-Messaging-Broker
    #webMethods


  • 2.  RE: use of provider filter in trigger

    Posted Fri August 17, 2018 08:05 AM

    Are you applying this filter to a UM or Broker?

    If UM it should work, did you try syncing the document to UM and try disabling and enabling the trigger.


    #webMethods
    #Universal-Messaging-Broker
    #Integration-Server-and-ESB


  • 3.  RE: use of provider filter in trigger

    Posted Fri August 17, 2018 12:57 PM

    Applying the filter to webMethods Messaging Trigger and IS connected to UM.

    Also, all the pub docs are synced with the UM.


    #Integration-Server-and-ESB
    #Universal-Messaging-Broker
    #webMethods


  • 4.  RE: use of provider filter in trigger

    Posted Fri August 17, 2018 02:32 PM

    Thanks for the help, Mahesh!

    I went ahead synced all the docs again and then, disabled/enabled the triggers.

    However, there was one additional detail which was missed out from my side. For the Publishable Doc, under the Property/webMethods Messaging/Encoding Type was set to IData, which needed to be changed to Protocol Buffers.

    This helped resolve the issue and now the triggers are working as expected with provider filters.


    #webMethods
    #Universal-Messaging-Broker
    #Integration-Server-and-ESB


  • 5.  RE: use of provider filter in trigger

    Posted Fri August 17, 2018 02:36 PM

    Very glad to hear this issue is resolved now!!

    Cheers!
    RMG


    #Universal-Messaging-Broker
    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: use of provider filter in trigger

    Posted Thu February 27, 2020 04:33 PM

    Hi All,

    This thread was really helpfull - in regards to provider filter context to the point I was only using one condition in my provider filter. But as soon I applied multiple condition under the provider filter it doesn’t works:

    Eg: In the document in the top level itself the fields as present are CONVERSION_TYPE and TO_CURRENCY and I want to put filter as below - these doesn’t seems to be working.

    CONVERSION_TYPE = ‘Corp’ && TO_CURRENCY = ‘USD’
    CONVERSION_TYPE = ‘Corporate’ || CONVERSION_TYPE = ‘8800’

    Though below works for Provider filter:
    CONVERSION_TYPE = ‘Corporate’

    I read earlier - Lexical operator should work for these case and tried below combination - but they doesn’t work either:
    %CONVERSION_TYPE% L_EQUALS ‘Corp’ && %TO_CURRENCY% L_EQUALS ‘USD’

    All said, below combo works for Local filter setup
    %CONVERSION_TYPE% == “Corp” && %TO_CURRENCY% == “USD”

    Not sure where I am going wrong. Tried to read around documentation for a exact example to address the scenario however didn’t find any. Can any of you help.


    #Universal-Messaging-Broker
    #Integration-Server-and-ESB
    #webMethods