How to write a document selection in an agent with the designer interface?

Hi,

I try to select documents marked with a text field named Processed in an agent.

In the designer client if i write Processed != “1” and save the agent, the formula becomes Processed != "1"

I cannot use the wizard because the field does not appear in the form (it is in fact the Memo form which i process in a After New Mail Arrives agent)

Must i write Processed != ‘1’ ?

The designer client version is 8.5.1

Thanks

Christophe