Help

The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.

Comparison in automation doesn't work

Topic Labels: Automations
Solved
Jump to Solution
746 2
cancel
Showing results for 
Search instead for 
Did you mean: 
Angelo_Blot1
5 - Automation Enthusiast
5 - Automation Enthusiast

Hi everyone !

I've encountered difficulties in validating the search for an ID. I believe there must be an error in my formula because, after integrating logs to ensure that I was correctly comparing the searched ID with the ID present in the table and the relevant column, I noticed that we have a match, but the formula generates a 'false' instead of a 'true'. Does anyone see my mistake?


Thank you

1 Solution

Accepted Solutions
kuovonne
18 - Pluto
18 - Pluto

Try using console.log({modeleId, recordID}) to see the actual values of the variables. The value you get from the input variable might be an array and not a string.

See Solution in Thread

2 Replies 2
kuovonne
18 - Pluto
18 - Pluto

Try using console.log({modeleId, recordID}) to see the actual values of the variables. The value you get from the input variable might be an array and not a string.

Hi,

You found my error ! It's was an array and not a string...now it works, thank you !