You haven’t showed the Bot Event details. Based on what you have shown, my guess is that this is a Scheduled Bot and the ForEachRowInTable property is turned off.
When the ForEachRowInTable property is turned off, the Filter Condition only acts as a switch to run or not run the Bot. No rows are passed to the template in this case. The template would be responsible for selecting all of the “Producten” rows it wishes to report on.
In your case, the template is defined expecting that an initial row is passed in. Since it seems that is not the case, the template cannot resolve the column references at the top of the template.
On the other hand, if the ForEachRowInTable is turned on, each row identified by the Filter Condition in the Event would be passed to the template one-by-one sending a separate email for each row.
So, if the above is correct, the question is how do you wish the emails to be sent when MULTIPLE rows are identified by the Event Filter Condition?
- a single emailed report with all identified rows included?
- a report emailed for each row separately?