Frequently Asked Questions / Anveo Mobile App / Anveo Mobile App shows error message: Error: The given key ‚1‘ was not present in the dictionary

Anveo Mobile App shows error message: Error: The given key ‚1‘ was not present in the dictionary

Symptom

When trying to run a script, following error occures.

Error: The given key ‚1‘ was not present in the dictionary

Cause

The script contains an repeat until statement. Within this loop the record is modified in such a way, tha he leaves the filtering conditions. The NEXT()-function causes this error when called from an record, that is not part oft the filter.

Solution

Replace the NEXT() by another condition for leaving the loop, or handle the changes after completing the loop.