Skip to main content

Multiple IFF for filtering records

Comments

1 comment

  • David Paras

    It is an "and" statement instead of an "or"
    statement. Apparently the conditional statements are treated differently in
    XML than other languages such as Javascript.

     

    This is resolved by changing the rule from:

    IFF CONDITION{ $Input_WAT_EEC_Input_Schema/
    Root/Record/ContractText != 'FT w/o benefits' or
    $Input_WAT_EEC_Input_Schema/Root/Record/ContractText != 'PT w/o benefits'}
    VALUE=[ 'true' ]

    TO

    IFF CONDITION{ $Input_WAT_EEC_Input_Schema/
    Root/Record/ContractText != 'FT w/o benefits' and
    $Input_WAT_EEC_Input_Schema/Root/Record/ContractText != 'PT w/o benefits'}
    VALUE=[ 'true' ]

    0

Post is closed for comments.