AnsweredAssumed Answered

How do I compare the value of a variable (field from source XML of a map) with a string using groovy scripting in the mapfunction? The input value always shows null

Question asked by SrujanaRouthu9781 on Aug 18, 2015
Latest reply on Aug 24, 2015 by SrujanaRouthu9781

We have used groovy scripting in a mapfunction whose source profile is XML. There is a field called "currency_code" and it persists a value of  "GBP". The input is set to character in the scripting. However, the script always reads it as null. when executing a string comparision, it gives a false value as a result of it.