I have created a function to fetch data from a data table. I am trying to filter that data by use of a specific boolean which is called “In Stock.” Normally, this sort of thing seems to work but some reason, whether the “In Stock” boolean is ticked or not, the condition doesn’t seem to be being read. It simply passed the information through regardless. Am I doing something wrong?
Semantics out of the way first.
Validate “out row names” before the loop.
row names -> (Length > 0) -> branch
You’re Looping, BUT returning the first result…regardless the number of entries in row names. If this is the behavior you want use a loop w/break and return on “Completed”.
Data tables cannot be updated in real time. Meaning you cannot change the values of loaded data.
Unfortunately this doesn’t solve the problem of having the boolean not read as a condition.
By following these steps, none of the data information is being read at all.
Then the issue is elsewhere, where we cannot see it.
It simply passed the information through regardless.
Could you post the updated script with the suggestion applied.