Fetch list of potentials with condition

Fetch list of potentials with condition

Hello,

I would like to retrieve / fecth the list of Potentials that match a condition (not all).

Potentials = zoho.crm.getRecords("Potentials"); 

But the code above has not restrictions. How can I set a condition that retrieves only those records with the value RunWorkFlow set to TRUE?

Something like:

Potentials = zoho.crm.getRecords("Potentials") where RunWorkFlow = TRUE;

Mnay thanks in advance!