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

No condition matches in trigger

webMethods Community Member

webMethods Community MemberFri November 30, 2007 04:31 AM

  • 1.  No condition matches in trigger

    Posted Thu November 15, 2007 08:39 PM

    I am receiving the following error in the serverlog.

    [ISS.0098.0061D] No condition matches in trigger package1.triggers:trigger1 for document
    aa.bb:cc_Pub with activation wm123…

    We have two Is in cluster with same packages and triggers deployed in both of them. Can you please let me know what the reason could be?


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: No condition matches in trigger

    Posted Sun November 18, 2007 03:49 PM

    It looks like your publisable document dont have any subscription by any trigger??

    1. open your publishable document type and check the properties,
      what is the broker is document type name… Is that correct what you are subscribing… or broker document having any _1 or _2 like that???

    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: No condition matches in trigger

    Posted Tue November 27, 2007 06:52 PM

    I didn’t get the answer.

    I checked the trigger condition. I don’t find anything wrong.

    Will this be happening because there is something wrong with the publishable document or wrong with the trigger?

    Can you be more specific of where to search and what to search?


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 4.  RE: No condition matches in trigger

    Posted Tue November 27, 2007 07:11 PM

    Do you have any filter criteria on the trigger? Can you post the details of your trigger?


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 5.  RE: No condition matches in trigger

    Posted Tue November 27, 2007 09:10 PM

    Trigger condition was having
    %doc/Header/field%=“aa”.
    If I convert this to lexical condition, may be this warning will go away.

    Can you please confirm.


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 6.  RE: No condition matches in trigger

    Posted Tue November 27, 2007 09:15 PM

    Having a condition will indeed cause the warning message you first reported. It’s saying “I received a subscribed event, but it doesn’t match any of your conditions.”

    You can either convert to the lexical form (usually a good idea since the Broker will then do the filtering instead of IS) or just ignore the warning.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 7.  RE: No condition matches in trigger

    Posted Wed November 28, 2007 08:02 AM

    Hi Reamon,

    In the document it has said both Broker and IS evaluate the document against the Subscription filter upon receiving the document.

    or

    only Broker evaluates the document and then places the dcoument in the subscribers client Queue if it matches the filter?

    Is there will be any differences in evaluating the document when we use
    Standard Relational Operators
    or
    Lexical Relational Operators.
    as you said the Broker will do the filtering Instead of IS.

    Thanks in Advance
    Gouse.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 8.  RE: No condition matches in trigger

    Posted Wed November 28, 2007 03:59 PM

    The Broker and IS support different, but overlapping, filter syntax.

    "Filters can be saved with the subscription on the Broker and with the trigger on the Integration Server. The location of the filter depends on the filter’s syntax, which is evaluated at design time.

    If the Broker determines that the syntax is valid for the Broker, it saves the filter with the subscription. If…the sytax is not valid on the Broker…saved only on the Integration Server."

    If the Broker can save and apply the filter, it will do so. In this case, IS will again filter the document, to invoke the right trigger service.

    If the Broker cannot save the filter, IS will do all the filtering.


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 9.  RE: No condition matches in trigger

    Posted Thu November 29, 2007 06:24 AM

    so it is good to use Lexical Operators were the Broker validates the documents there itself?


    #Flow-and-Java-services
    #webMethods
    #Integration-Server-and-ESB


  • 10.  RE: No condition matches in trigger

    Posted Thu November 29, 2007 04:33 PM

    It depends. Generally speaking, filtering on the Broker is preferred since it reduces network traffic and hand-shaking between the Broker and clients. On the other hand, traffic volume and relative load on Broker vs. IS may point one to do filtering on IS.

    If you have one Broker and one IS and traffic is relatively light to moderate, it likely doesn’t matter where the filtering is done.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 11.  RE: No condition matches in trigger

    Posted Fri November 30, 2007 04:31 AM