I set up the following situation:
-Form has 2 fields, Amount and Type
-Process has an exclusive gateway that goes to Path A if Amount>100000 or Type is "Third Party"
-Amount field is hidden so no value can be input
Upon a submission, it throws an error (or goes to Path B if B is set as the default path). My assumption is that this occurs because the Amount field is hidden and thus does not exist to the process, so it tries to compare 100000 to a value that doesn't exist and throws an error.
However, if I put quotes around 100000 in the condition for the exclusive gateway (which Forms does by default) everything works as expected with no error. But without the quotes around 100000, if the Amount field is not hidden then everything works as expected. If I put a value of 60 it correctly evaluates as less than 100000 and if I put 100001 it evaluates as more than 100000.
I'm confused as to why Forms seems to have an issue with a hidden field sometimes and no issues with it other times, and why with quotes around the number it works every time.
Sorry if this is confusing but this issue just came up on a client's Forms process (they had no quotes around the 100000 and the field was hidden so it went to the default path) and that's why I'm posting about it here.