I thought the error came from it being a number, so I used the .toString expression:
But nothing changes
Second option, keep only the first 2 digits of my postal code to look for an equality then but I didn’t find how to do it…
Here is an image of my workflow, to summarize when a new request arrives by mail, we get its postal code to compare it with our database and keep only the departments that correspond and then send an email :
if I understand correctly you are tryning to match CodePostal (Value 1) startsWith Departement (Value 2), right? In that case everything would go to false because e.g 69126 does not start with 34 and empty (CodePostal) does not start with 47, etc.
Are you trying to match a list of departements with each postal code? In that case the IF node I am seeing wouldn’t work because it will compare the first Departement with the first Code Postal, then the second Department with second CodePostal etc.
I created a sample workflow using two seperate lists for Departement and Code Postal and using the Merge node to multiplex all combinations of both together. After that your if node would work.
Great to hear that it’s working now. I marked my merge node post as solution to close the topic. It’s alway good to pick a solution if possible or to like answers you were getting. A final message to make clear that everything works now is also alway great and you did so already