Skip to product menu
close
  • Recent Launches
    Press Space or Enter to display list of options
EXPLORE ALL PRODUCTS

Recent Launches

New

Payroll software with automated tax payments and filing.

Try now
New

Robotic process automation software to automate high-volume, rule-based tasks.

Try for free
New

Low-code IoT platform and solutions for connected businesses.

Try now
New

Business formation service to launch and grow your businesses.

Try now
New

Privacy-friendly application analytics solution.

Try for free

Sales

 
CRM

Comprehensive CRM platform for customer-facing teams.

CRM
 
Bigin

Simple CRM for small businesses moving from spreadsheets.

Bigin
 
Forms

Build online forms for every business need.

Forms
 
SalesIQ

Live chat app to engage and convert website visitors.

SalesIQ
 
Bookings

Appointment scheduling app for consultations with customers.

Bookings
 
Sign

Digital signature app for businesses.

Sign
 
RouteIQ

Comprehensive sales map visualization and optimal route planning solution.

RouteIQ
 
Thrive

Complete loyalty and affiliate management platform.

Thrive
 
Voice

Cloud Contact Center Software for businesses.

Voice
 
Suites
CRM Plus

Unified platform to deliver top-notch customer experience.

CRM Plus

Marketing

 
Social

All-in-one social media management software.

Social
 
Campaigns

Create, send, and track targeted email campaigns that drive sales.

Campaigns
 
Forms

Build online forms for every business need.

Forms
 
Survey

Design surveys to reach and interact with your audience.

Survey
 
Sites

Online website builder with extensive customisation options.

Sites
 
PageSense

Website conversion optimization and personalisation platform.

PageSense
 
Backstage

End-to-end event management software.

Backstage
 
Webinar

Webinar platform for webcasting online webinars.

Webinar
 
Marketing Automation

All-in-one marketing automation software.

Marketing Automation
 
LandingPage

Smart landing page builder to increase conversion rates

LandingPage
 
Publish

Manage all your local business listings on a single platform.

Publish
 
SalesIQ

Live chat app to engage and convert website visitors.

SalesIQ
 
Sign

Digital signature app for businesses.

Sign
 
Thrive

Complete loyalty and affiliate management platform.

Thrive
 
Voice

Cloud Contact Center Software for businesses.

Voice
 
NEW
LeadChain

Sync, manage, and convert leads across channels seamlessly.

LeadChain
 
NEW
CommunitySpaces

Online community platform for individuals and businesses to grow their network and brand.

CommunitySpaces
 
Suites
Marketing Plus

Unified marketing platform for marketing teams.

Marketing Plus

Commerce and POS

 
Commerce

eCommerce platform to manage and market your online store.

Commerce

Service

 
Desk

Helpdesk software to deliver great customer support.

Desk
 
Assist

Remote support and unattended remote access software.

Assist
 
Lens

Interactive remote assistance software with augmented reality.

Lens
 
FSM

End-to-end field service management platform for service businesses.

FSM
 
SalesIQ

Live chat app to engage and convert website visitors.

SalesIQ
 
Voice

Cloud Contact Center Software for businesses.

Voice
 
NEW
Solo

The all-in-one toolkit for solopreneurs.

Solo
 
Bookings

Appointment scheduling app for consultations with customers.

Bookings
 
Suites
Service Plus

Unified platform for customer service and support teams.

Service Plus

Finance

 
Books

Powerful accounting platform for growing businesses.

Books
 
FREE
Invoice

100% Free invoicing solution.

Invoice
 
Expense

Effortless expense reporting platform.

Expense
 
Inventory

Powerful stock management and inventory control software.

Inventory
 
Billing

End-to-end billing solution for your business.

Billing
 
Checkout

Collect payments online with custom branded pages.

Checkout
 
NEW
Payroll

Payroll software with automated tax payments and filing.

Payroll
 
NEW
Solo

The all-in-one toolkit for solopreneurs.

Solo
 
Practice

Practice management software for accounting firms.

Practice
 
Sign

Digital signature app for businesses.

Sign
 
Commerce

eCommerce platform to manage and market your online store.

Commerce
 
Suites
Finance Plus

All-in-one suite to manage your operations and finances.

Finance Plus

Email and Collaboration

 
Mail

Secure email service for teams of all sizes.

Mail
 
Meeting

Online meeting software for all your video conferencing & webinar needs.

Meeting
 
Writer

Word processor for focused writing and discussions.

Writer
 
Sheet

Spreadsheet software for collaborative teams.

Sheet
 
Show

Create, edit, and share slides with a sleek presentation app.

Show
 
Notebook

Beautiful home for all your notes.

Notebook
 
Cliq

Stay in touch with teams no matter where you are.

Cliq
 
Connect

Employee experience platform to communicate, engage, and build positive employee relations.

Connect
 
Bookings

Appointment scheduling app for consultations with customers.

Bookings
 
TeamInbox

Shared inboxes for teams.

TeamInbox
 
WorkDrive

Online file management for teams.

WorkDrive
 
Sign

Digital signature app for businesses.

Sign
 
Office Suite

Powerful collaborative work platform for teams.

Office Suite
 
Office Integrator

Built in document editors for web apps.

Office Integrator
 
ZeptoMail

Secure and reliable transactional email sending service.

ZeptoMail
 
Calendar

Online business calendar to manage events and schedule appointments.

Calendar
 
Learn

Knowledge and learning management platform.

Learn
 
Voice

Cloud Contact Center Software for businesses.

Voice
 
ToDo

Collaborative task management for individuals and teams.

ToDo
 
Tables

Work management tool to connect people, processes, and information.

Tables
 
FREE
PDF Editor

Collaborative online PDF editing tool.

PDF Editor
 
Suites
Workplace

Application suite built to improve team productivity and collaboration.

Workplace

Human Resources

 
People

Organize, automate, and simplify your HR processes.

People
 
Recruit

Intuitive recruiting platform built to provide hiring solutions.

Recruit
 
Expense

Effortless expense reporting platform.

Expense
 
Workerly

Manage temporary staffing with an employee scheduling solution.

Workerly
 
NEW
Payroll

Payroll software with automated tax payments and filing.

Payroll
 
Shifts

Employee scheduling and time tracking app.

Shifts
 
Sign

Digital signature app for businesses.

Sign
 
Suites
People Plus

Comprehensive HR platform for seamless employee experiences.

People Plus

Security and IT Management

 
Creator

Build custom apps to simplify business processes.

Creator
 
Directory

Workforce identity and access management solution for cloud businesses.

Directory
 
FREE
OneAuth

Secure multi-factor authenticator (MFA) for all your online accounts.

OneAuth
 
Vault

Online password manager for teams.

Vault
 
Catalyst

Pro-code platform to build and deploy your apps.

Catalyst
 
Toolkit

Complete resource for any admin-related lookup queries.

Toolkit
 
Lens

Interactive remote assistance software with augmented reality.

Lens
 
Assist

Remote support and unattended remote access software.

Assist
 
QEngine

Test automation software to build, manage, execute, and report testcases.

QEngine
 
NEW
RPA

Automate manual, tedious, and repetitive tasks easily.

RPA

BI and Analytics

 
Analytics

Modern self-service BI and analytics platform.

Analytics
 
Embedded BI

Embedded analytics and white label BI solutions, tailored for your needs.

Embedded BI
 
DataPrep

AI-powered data preparation service for your data-driven organization.

DataPrep
 
NEW
IoT

Harnessing IoT analytics for real-time operational intelligence.

IoT

Project Management

 
Projects

Manage, track, and collaborate on projects with teams.

Projects
 
Sprints

Planning and tracking tool for scrum teams.

Sprints
 
BugTracker

Automatic bug tracking software for managing bugs.

BugTracker
 
NEW
Solo

The all-in-one toolkit for solopreneurs.

Solo

Developer Platforms

 
Creator

Build custom apps to simplify business processes.

Creator
 
Flow

Automate business workflows by creating smart integrations.

Flow
 
Catalyst

Pro-code platform to build and deploy your apps.

Catalyst
 
Office Integrator

Built in document editors for web apps.

Office Integrator
 
ZeptoMail

Secure and reliable transactional email sending service.

ZeptoMail
 
QEngine

Test automation software to build, manage, execute, and report testcases.

QEngine
 
Tables

Work management tool to connect people, processes, and information.

Tables
 
NEW
RPA

Automate manual, tedious, and repetitive tasks easily.

RPA
 
NEW
Apptics

Application analytics for all apps.

Apptics
 
Embedded BI

Embedded analytics and white label BI solutions, tailored for your needs.

Embedded BI
 
NEW
IoT

Build, deploy, and scale IoT solutions for connected businesses.

IoT
 
DataPrep

AI-powered data preparation service for your data-driven organization.

DataPrep

IoT

 
NEW
IoT

Low-code IoT platform and solutions for connected businesses.

IoT

Search Result

 
CRM Plus

Unified platform to deliver top-notch customer experience.

Try now
CRM Plus
 
Service Plus

Unified platform for customer service and support teams.

Try now
Service Plus
 
Finance Plus

All-in-one suite to manage your operations and finances.

Try now
Finance Plus
 
People Plus

Comprehensive HR platform for seamless employee experiences.

Try now
People Plus
 
Workplace

Application suite built to improve team productivity and collaboration.

Try now
Workplace
 
Marketing Plus

Unified marketing platform for marketing teams.

Try now
Marketing Plus
 
All-in-one suite

Zoho One

The Operating System for Business

Run your entire business on Zoho with our unified cloud software, designed to help you break down silos between departments and increase organizational efficiency.

TRY ZOHO ONE
Zoho One
Zoho Marketplace

With over 2000 ready-to-use extensions across 40+ categories, connect your favorite business tools with the Zoho products you already use.

EXPLORE MARKETPLACE
Marketplace

Join us for the biggest low-code event of the year. Register now!

x
Skip to main content

Choose where you’d like to start

Overview

A criteria is required when you need to fetch a collection of records. Criteria comprises of one or more conditions separated by logical operators

Conditions always evaluate to a boolean value - True or False. The boolean value of the overall criteria will depend on the conditions and the type of Logical Operators used to connect the conditions in the criteria.

If the criteria is met(i.e., it evaluates to true), all the records which meet the criteria will be fetched.

Syntax

A criteria looks like the following snippet:

(<condition_1> <logical_operator_1> <condition_2> <logical_operator_2> ..... <condition_n>)

Each condition comprises of the following:

(<field_link_name> <operator> <expression>)

<field_link_name> 

Link name of the field whose value needs to be compared to a specified value.

Only link names of fields and its related fields must be specified.

<operator>

Operator to compare field value against the specified value.

<expression>

The value to be compared with the field value. It may directly be a value, or an expression evaluating to the required value.

For example:

(email == "tony@zylker.com" &&  phone == "+91xxxxxxxxxx")

// 'email' and 'phone' are the form fields
// in the example, we have 2 conditions separated by the && logical operator
// each condition has a field, an operator, and the expression to be compared
// such conditions can be used to fetch records which meet the criteria

Applicable operators and expressions for Name and Address field types.

The criteria format: <field_link_name> <operator> (<expression>) must be used to specify the following operators.

OperatorApplicable expression
  • ==
  • !=
  • is not
  • null

It is advisable to use this function instead to check null values

The criteria format: <field_link_name>.<operator> (<expression>) must be used to specify the following operators.

OperatorApplicable expression
  • contains
  • string value, or an expression that evaluates to a string value
  • isEmpty

       NA

Applicable operators and expressions for Name(subfields), Email, Address(subfields), Single Line, Multi Line, Drop down, Radio, Formula (String), Rich Text, Phone Number, URL, Image, File Upload, Audio, Video, Signature, Users, Added User, Modified User, and Integration field types

The criteria format: <field_link_name> <operator> <expression> must be used to specify the following operators.

OperatorApplicable expression
  • ==
  • !=
  • is
  • is not
  • string value, or an expression that evaluates to a string value
  • string list
  • in
  • not in
  • string list

The criteria format: <field_link_name>.<operator> (<expression>) must be used to specify the following operators.

OperatorApplicable expression
  • contains
  • startsWith
  • endsWith
  • equalsIgnoreCase
  • string value, or an expression that evaluates to a string value
  • isEmpty
          NA

Note:

  • The subfields for Name field type must be specified in the format:
    • <field_link_name>.prefix
    • <field_link_name>.first_name
    • <field_link_name>.last_name
    • <field_link_name>.suffix
  • The subfields for Address field type must be specified in the format:
    • <field_link_name>.address_line_1
    • <field_link_name>.address_line_2
    • <field_link_name>.district_city
    • <field_link_name>.state_province
    • <field_link_name>.postal_code
    • <field_link_name>.country
    • <field_link_name>.longitude
    • <field_link_name>.latitude
  • If more than one Name fields are present in the form, the link names of the subsequent sub fields will be appended by a number starting from 1. So, if we take the example of the subfield <field>.prefix, the link name of the first such field will be <field>.prefix, the link name of the second such field will be <field>.prefix1, the link name of the third such field will be <field>.prefix2, and so on.
  • Similarly, if more than one Address fields are present in the form, the link names of the subsequent sub fields will be appended by a number starting from 1. So, if we take the example of the subfield <field>.country, the link name of the first such field will be <field>.country, the link name of the second such field will be <field>.country1, the link name of the third such field will be <field>.country2, and so on. 
  • For Rich Text field type, the string value must be provided with the applicable html tags, if any.
  • For Phone Number field type, the string value must be provided along with the country code.
  • For URL​ with title, linkname and target as "new window". If these properties are not enabled, they can be removed from the url format.
    • "<a href= \"<URL>\" title = \"<TITLE>\" target = \"_blank\"><linkname></a>"
  • For Image with linkname, title, and target as "new window". If these properties are not enabled, they can be removed from the url format.
    • "<a href= \"http://<LINKNAME>\" title =\"<TITLE>\" target = \"_blank\"><img src = \"<URL>\" title =\"<TITLE>\"></img></a>"
  • For File upload field type, the string value must be in the format:
    • <file-id>_<file-name>.<file-type>             
      // The file-id is a unique id assigned to each file. Execute the info statement to view the exact format of the value as stored in the database.
  • For Audio and Video field types, The string value must be in the format:
    • <file-id>_<file-size-in-bytes>_<file-name>.<file-type>     
      // The file-id is a unique id assigned to each file. Execute the info statement to view the exact format of the value as stored in the database.
  • For Signature field type, The string value must be in the format:
    •  <file-id>_<field-link-name>.png               
      // The file-id is a unique id assigned to each file. Execute the info statement to view the exact format of the value as stored in the database.
  • For Users, Added user and Modified user, you can check the list of users and their email addresses from the Users section in your application. To check with the email address of the users, specify <field_link_name> in the following format:
    • <field_link_name>.email // will work only for the Users field type and for the operators: ==!=is, and is not.
  • For Integration field type, you need to specify the record id.

Applicable operators and expressions for Number, Autonumber, Percent, Currency, Decimal, ID and Formula(bigint/decimal) field types

The criteria format: <field_link_name> <operator> <expression> must be used to specify the following operators.

OperatorApplicable expression
  • ==
  • !=
  • is
  • is not
  • bigint/decimal value, or an expression that evaluates to a bigint/decimal value
  • bigint/decimal list (or list with numerical values in quotes)
  • in
  • not in
  • bigint/decimal list (or list with numbers in quotes)
  • >
  • >= 
  • <= 
  • bigint/decimal value or an expression that evaluates to a bigint/decimal value

The criteria format: <field_link_name>.<operator> (<expression>) must be used to specify the following operators.

OperatorApplicable expression
  • contains
  • startsWith
  • endsWith
  • bigint/decimal value within double quotes.

Applicable operators and expressions for Date, Date-time, Added Time and Modified Time field types

The criteria format: <field_link_name> <operator> <expression> must be used to specify the following operators.

OperatorApplicable expression
  • ==
  • !=
  • is 
  • is not
  • tomorrow
  • yesterday
  • now
  • today
  • date system variables
  • any date/date-time value or an expression that evaluates to a date/date-time value
  • list of date-time values
  • not in
  • list of date-time values
  • in
  • any date/date-time value or an expression that evaluates to a date/date-time value
  • list of date-time values
  • next week
  • next month
  • next year
  • last week
  • last month
  • last year
  • next <n> weeks
  • next <n> months
  • next <n> years
  • last <n> weeks
  • last <n> months
  • last <n> years
  • <n> weeks ago
  • <n> months ago
  • <n> years ago
  • this week
  • this month
  • this year

 <n> stands for any valid natural number.

Applicable operators and expressions for decision box field type

The criteria format: <field_link_name> <operator> <expression> must be used to specify the following operators.

OperatorApplicable expression
  • ==
  • !=
  • is 
  • is not
  • true
  • false

The decision box field type can also be specified in the following format:

<collection_variable> = <Form>[<decision_box>];
      // implies the decision box value is true
<collection_variable> = <Form>[!<decision_box>];
     // implies the decision box value is false

Applicable operators and expressions for multi select and checkbox field types

The criteria format: <field_link_name> <operator> <expression> must be used to specify the following operators.

OperatorApplicable expression
  • ==
  • in
  • a list or an expression which evaluates to a list 

Even if the field contains any additional choices apart from the choices specified in the expression, that record will be treated as matching the criteria.

  • !=
  • not in
  • a list or an expression which evaluates to a list 

If the field contains any additional choices apart from the choices specified in the expression, that record will be treated as matching the criteria.

The criteria format: <field_link_name>.<operator> (<expression>) must be used to specify the following operators.

OperatorApplicable expression
  • contains
  • startsWith
  • endsWith
  • equalsIgnoreCase
  • string value, or an expression that evaluates to a string value

The specified string value will not be treated as a choice, instead it will treated as string characters and all the choices containing the string characters will be treated as matching the criteria.

  • isEmpty
          NA

Applicable operators and expressions for Lookup - Multiselect and Checkbox field types

The criteria format: <field_link_name> <operator> <expression> must be used to specify the following operators.

OperatorApplicable expression
  • ==
  • !=   
  • in
  • not in
  • bigint list, or an expression that evaluates to a bigint list 

You need to specify the record id.

The criteria format: <field_link_name>.<operator> (<expression>) must be used to specify the following operators.

OperatorApplicable expression
  • contains
  • startsWith
  • endsWith
  • equalsIgnoreCase
  • bigint value within double quotes

The specified value will not be treated as a choice, instead it will treated as string characters and all the choices containing the characters will be treated as matching the criteria.

You need to specify record IDs as values.

  • isEmpty
          NA

Applicable operators and expressions for Lookup - Drop-down and Radio field types

The criteria format: <field_link_name> <operator> <expression> must be used to specify the following operators.

OperatorApplicable expression
  • == 
  • !=
  • is
  • is not
  • bigint value, or an expression that evaluates to a bigint value
  • bigint list

You need to specify record IDs as values.

  • in
  • not in
  • bigint list

You need to specify record IDs as values.

The criteria format: <field_link_name>.<operator> (<expression>) must be used to specify the following operators.

OperatorApplicable expression
  • contains
  • startsWith
  • endsWith
  • equalsIgnoreCase
  • string value, or an expression that evaluates to a string value

You need to specify record IDs as values.

  • isEmpty
          NA

Note: 

  • Lookup subfields and Subform fields
    • You can specify fields in the lookup form in the format
      <lookup_field_link_name>.<field_link_name>
      and the operators and expressions must be specified based on the field type of the <field_link_name>, as mentioned in the above tables
    • You can specify fields in the Subform in the format
      <subform_field_link_name>.<field_link_name>
      and the operators and expressions must be specified based on the field type of the <field_link_name>, as mentioned in the above tables
  • Encrypted fields 
    • The following are the only applicable operators and built-in functions for fields whose data encryption is enabled: ==, !=, and isEmpty().

Get Started Now

Execute