I am using an IF (IF CSA number & mautic CSA number match) node to compare 2 numbers, if the match true, if not false. Problem is even if they match its going down the false leg.
There is obv some discrepancy between the numbers that I cannot spot.
Can someone help me find the issue?
Share the output returned by the last node - below are the items that go down the false leg although they are true.
1 item does go correctly down the true leg - the json for that item pasted at the bottom of this post.
[
{
"Paddler 1 CSA": 5597,
"Paddler 1 Mobile No.": "redacted",
"Paddler 1 Name": "redacted",
"Paddler 1 Email": "redacted",
"Which Course": "Long Course",
"Paddler 1 First Name": "redacted",
"Paddler 1 Last Name": "redacted ",
"First Name": "redacted",
"Last Name": "redacted "
},
{
"Paddler 1 CSA": 7141,
"Paddler 1 Mobile No.": "redacted",
"Paddler 1 Name": "redacted",
"Paddler 1 Email": "redacted",
"Which Course": "Long Course",
"Paddler 1 First Name": "redacted",
"Paddler 1 Last Name": "redacted ",
"First Name": "redacted",
"Last Name": "redacted"
},
{
"Paddler 1 CSA": 50839,
"Paddler 1 Mobile No.": "redacted",
"Paddler 1 Name": "redacted",
"Paddler 1 Email": "redacted",
"Which Course": "Long Course",
"Paddler 1 First Name": "redacted",
"Paddler 1 Last Name": "redacted",
"First Name": "Johnathan",
"Last Name": "Van Der Walt "
},
Correct result json
[
{
"Paddler 1 CSA": 1071,
"Paddler 1 Mobile No.": "redacted",
"Paddler 1 Name": "redacted",
"Paddler 1 Email": "redacted",
"Which Course": "Long Course",
"Paddler 1 First Name": "redacted",
"Paddler 1 Last Name": " redacted ",
"First Name": "redacted",
"Last Name": " redacted "
}
]