Hello "DocuWeird",

is the specified Index Field "N1" a text field or a numeric field? If it is a text field, the current behaviour would be correct.

To achieve what you want, you should create a global Variable (Numeric), then in the first "assign data" step, convert the value from the text index field to a numeric value and store it in the global variable. To accomplish this, use an arithmetic expression, for example: CInt(DW_N1)

In the condition, you may then use the GV instead of the index field. Your desired logic should work then.

Hope this helps.
Greetings from Germany,
Simon H. Hellmann
DocuWare System Consultant