<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00007ZwbGFCAZOkta Classic EngineSingle Sign-OnAnswered2024-03-19T19:48:34.000Z2022-04-12T12:42:47.000Z2022-04-13T13:39:56.000Z

SharathK.44425 (Customer) asked a question.

IF/Else Condition in Mapping

I am trying to execute a If/Else condition in the mapping String.toLowerCase(appuser.var1)==4 ? "1082395" : "1569263" where it only returns "1569263". The expected result is var1==4 it should return "1082395" and var1==8 it should return "1569263".


  • SharathK.35700 (Customer)

    This is the right expression for if/else condition String.toLowerCase(appuser.var1) == "4" ? "1082395" : String.toLowerCase(appuser.var1) == "8" ? "1569263" : null

This question is closed.
Loading
IF/Else Condition in Mapping