Validation Rules | Zoho Recruit

Points To Note While Updating A Field Used In A Validation Rule

Validation Rules are effective on creating a record manually. However, when fields used in a validation rule (whether primary or secondary) are updated through other ways such as workflow update, and APIs, the field update takes precedence over the validation rules.
 
These instances are explained with further examples below:

Updating a primary field using a validation rule

Example:  
In a job portal, there is a validation rule that states, "If Job Salary is less than $50,000, show an alert, 'Sorry! This job does not meet the minimum salary requirement.'" This validation rule is set up to ensure that only job openings with a minimum salary of $50,000 or higher can be posted on the portal.

However, there is a scenario where this validation rule may be bypassed. If a job opening's salary is updated through an automated job feed from an external recruitment agency, the system automatically updates the job opening with the information from the job feed, including the salary. If the job feed data shows a salary of $50,000 or higher for a job opening, the system will update the job opening with this information, even if the validation rule would have triggered an alert due to the original salary being less than $50,000.

This means that despite the validation rule being in place, the system will accept and update the job opening with the new salary obtained from the job feed, overriding the validation rule and allowing the job opening to be posted on the portal, even if it does not meet the minimum salary requirement as per the original validation rule.
 
Following are the means for field update that will take precedence over the validation rule.
 
Means of field update in Recruit
Field update details
Import
Updated on importing new Candidates or overwriting existing records
Workflow rules
Updated as a result of workflow action
Approval Process
Updated on approval or rejection of a record
Blueprint
Updated as a result of the After Transition settings.
When you create a validation rule as well as Blueprint validation for the same field, and if the two conditions are different, Blueprint overrides the validation rule.
That is, as long as the field is within a process, the Blueprint validation is applicable. When a record has exited a process, the validation rule is effective.
APIs
Updated via API updateRecords method
Mass update
Primary field used in a layout rule will not be available for mass update.

Updating a secondary field using a validation rule   

This is an important note. When you try to update any of the secondary fields used in a validation rule through workflows, mass update, APIs or Import, Recruit will accept the secondary field's values regardless of the conditions in the rule. As a result, your data may gather unacceptable values despite the validation rule.

Example:
A recruitment agency uses a Recruit system to manage their job openings, and they have set up a validation rule to define the minimum years of experience based on the job location. The validation rule states that the minimum years of experience required cannot be less than 3 years for job openings in the USA, cannot be less than 5 years for job openings in the UK, and cannot be less than 2 years for job openings in India. The years of experience field is the primary field, and the job location field is a secondary field used in the validation rule.
The recruitment agency decides to update the job location for a group of job openings through a mass update operation in the Recruit system. They decide to update all the job openings' location to "India" as they are planning to expand their operations in India. However, they do not realize that the job location field is used in the validation rule for defining the minimum years of experience. As a result, all the job openings whose location is updated to "India" end up with different minimum years of experience, which do not comply with the validation rule.

For example, a job opening that originally required a minimum of 4 years of experience and was located in the USA gets updated to "India" as the job location during the mass update. According to the validation rule, the minimum years of experience required should not be less than 2 years for job openings in India. However, because the Recruit system does not restrict field updates of secondary fields used in a validation rule, the minimum years of experience required is not adjusted to comply with the validation rule, resulting in an unacceptable value of 4 years for a job opening with the job location set to "India".

This scenario highlights the importance of checking whether fields are used in a validation rule before updating them, especially when performing mass updates, API calls, or imports in a Recruit system for recruitment purposes, to avoid gathering unacceptable values in the module and ensuring data integrity in job openings management.

      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsRetailOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceForms for Solopreneurs
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit
                              Forms for Government
                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic FormsInsurance
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsWufoo alternativeEncrypted Forms
                              Accessible FormsTypeform alternativeSecure Forms

                              WCAG

                                          Create. Review. Publish.

                                          Write, edit, collaborate on, and publish documents to different content management platforms.

                                          Get Started Now






                                                            You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                Manage your brands on social media

                                                                  Use cases

                                                                  Make the most of Zoho Desk with the use cases.

                                                                   
                                                                    

                                                                  eBooks

                                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho Desk.

                                                                   
                                                                    

                                                                  Videos

                                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho Desk.

                                                                   
                                                                    

                                                                  Webinar

                                                                  Sign up for our webinars and learn the Zoho Desk basics, from customization to automation and more

                                                                   
                                                                    
                                                                  • Desk Community Learning Series


                                                                  • Meetups


                                                                  • Ask the Experts


                                                                  • Kbase


                                                                  • Resources


                                                                  • Glossary


                                                                  • Desk Marketplace


                                                                  • MVP Corner



                                                                    Zoho Sheet Resources

                                                                     

                                                                        Zoho Forms Resources


                                                                          Secure your business
                                                                          communication with Zoho Mail


                                                                          Mail on the move with
                                                                          Zoho Mail mobile application

                                                                            Stay on top of your schedule
                                                                            at all times


                                                                            Carry your calendar with you
                                                                            Anytime, anywhere




                                                                                  Zoho Sign Resources

                                                                                    Sign, Paperless!

                                                                                    Sign and send business documents on the go!

                                                                                    Get Started Now




                                                                                            Zoho TeamInbox Resources





                                                                                                      Zoho DataPrep Demo

                                                                                                      Get a personalized demo or POC

                                                                                                      REGISTER NOW


                                                                                                        Design. Discuss. Deliver.

                                                                                                        Create visually engaging stories with Zoho Show.

                                                                                                        Get Started Now









                                                                                                                            • Related Articles

                                                                                                                            • Validation Rules In Zoho Recruit

                                                                                                                              Validation rules can improve the accuracy and consistency of the data in Zoho Recruit. These rules enforce specific requirements or restrictions on the data entered, such as filling out specific fields or entering data in a particular format. ...
                                                                                                                            • Workflow Rules

                                                                                                                              Workflow Rules are a powerful automation tool designed to streamline and optimize your recruitment processes. They empower you to automate repetitive tasks, manage candidate and client interactions, and ensure a seamless recruitment experience. ...
                                                                                                                            • Use Cases for Validation Rules Using Functions

                                                                                                                              Make detailed description mandatory if specific terms are entered in the field Zylker Tech manufactures electronic assemblies and similar other products. Their manufactured items are outsourced for quality check to a third-party service provider. The ...
                                                                                                                            • Form Rules

                                                                                                                              Webforms are essential tools for capturing information from your website visitors (Candidates, contacts, vendors, etc). Form Rules add flexibility and control to Webforms by enabling conditions and actions based on your website visitors' input. ...
                                                                                                                            • Data Sharing Rules

                                                                                                                              By default, access rights to Recruit records are set as private so that the record owner and his/her manager can oversee the Recruit data. However, using the Data Sharing Rules, you can extend the access rights to users belonging to other roles and ...
                                                                                                                              Wherever you are is as good as
                                                                                                                              your workplace

                                                                                                                                Resources

                                                                                                                                Videos

                                                                                                                                Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                eBooks

                                                                                                                                Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                Webinars

                                                                                                                                Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                CRM Tips

                                                                                                                                Make the most of Zoho CRM with these useful tips.



                                                                                                                                  Zoho Show Resources