Skip to Content
0
Dec 15, 2022 at 12:21 PM

Problem with data action IF ELSE logic

115 Views Last edit Dec 15, 2022 at 12:22 PM 2 rev

Hi everyone,

Below in the screenshot is part of my data action script logic. Inside every ELSEIF there is another IF statement where I compare certain date with date that is forwarded through parameter. While I was testing how this logic works, I noticed that each time I run this data action, line 119 is always executed even when condition in embedded ELSEIF isn`t true.

Do you know why this happens?

image.png

Attachments

image.png (45.3 kB)