Custom Functions for Projects | Online Help | Zoho Projects

Custom Functions for Projects

Automate your project workflow using Custom Functions.  A custom function is a software code that can be used to automate a process. In Deluge, you can write your own function and call it from one or more  Workflow rules. It is similar to Javascript's built-in functions such as DATE, CONCAT, REPLACE, and so on. Custom functions allow you to automate a notification, call a webhook, or perform logic immediately after a workflow rule is triggered.
For e.g., a custom function can be used to archive a project whose status is marked as complete. To do so, you will need to write a custom function as shown in the image below and save it.
This custom function is then associated with a workflow rule. Select the Update as the option for the Execute On criteria in the Workflow. Set the criteria in the condition as Project Status is Completed and save the rule.
Now, when a projects status is changed to Completed, the workflow rule will trigger the custom function and archive the project automatically.
Feature Availability: Latest Enterprise plan

Add a Custom Function

  1. Click  in the top navigation bar.
  2. Navigate to Marketplace and click Custom Functions under Developer Space.
  3. Select Projects  from the drop-down.
  4. Click Create Custom Function.
  5. Enter a Function Name and a Description.
  6. Select a Layout and set the Arguments.
  7. Type in your code in the Deluge script editor or drag and drop the parameters available in the left panel of the editor and customize them.
  8. Click Save.
  9. Click Save and Execute to execute the custom function immediately.

Associate a Custom Function to a Workflow Rule

  1. Click  in the top navigation bar.
  2. Navigate to Project Automation and click Workflow Rules.
  3. Select a rule.
  4. Under Add Actions, click Associate Custom Function.
  5. You can associate an existing Custom Function or create a new one.
  6. Click Save Rule.

  1. You can add upto 25 custom functions per layout.
  2. A maximum of 25 parameters are allowed per custom function.
  3. The maximum number of custom function failure per day is 20. If a custom function's failure count is reached, it will be disabled automatically, and the user who created the custom function will be notified via email.
  4. In a portal, a maximum of 5000 custom functions can be executed per day by Workflow Rule.
We have a few pre-defined gallery functions that are ready to use.
  1. Click  in the top navigation bar.
  2. Navigate to Marketplace and click Custom Functions under Developer Space.
  3. Select Projects from the drop-down box.
  4. Click on the drop-down next to the Create Custom Function button.
  5. Click Gallery Function.

  6. Hover over any of the listed functions and click Create.
  7. Change the description and arguments if needed.
    The deluge code is prefilled. The TODO lets users know the edits to the code before it can be executed.
  8. Click Save or Save and Execute to run the custom function.

  • Add Note to Linked CRM Account
  • Add a Note to Linked CRM Contact
  • Add Note to Linked CRM Deal
  • Sync Status Timeline to Analytics
  • Sync Due Date Changes to Analytics
  • Create Task
  • Create an Issue
  • Create a Milestone
  • Merge and Sign Documents Using a Zoho Writer
  • Merge and Store Documents Using a Zoho Writer
  • Send Message to a Slack Channel
  • Send Message to a Cliq Channel
  • Create an estimate in Zoho Invoice

Other Actions

Users can edit, delete, clone, or enable REST APIs for a custom function.
  1. Hover over a custom function and then click icon.
  2. Select the required option and make the necessary changes.
    Edit: Modify the existing custom function
    Delete: Deleted the existing custom function
    Clone: Create a copy of the custom function
    Rest API: Enable the REST API url for the custom function.

See Also

    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









                                            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

                                                  Zoho Desk Resources

                                                  • Desk Community Learning Series


                                                  • Digest


                                                  • Functions


                                                  • Meetups


                                                  • Kbase


                                                  • Resources


                                                  • Glossary


                                                  • Desk Marketplace


                                                  • MVP Corner


                                                  • Word of the Day


                                                    Zoho Marketing Automation

                                                      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 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

                                                                                                              • Custom Functions for Tasks

                                                                                                                Automate your tasks workflow using Custom Functions. A custom function is a software code that can be used to automate a process. In Deluge, you can write your own function and call it from one or more Workflow rules. It is similar to Javascript's ...
                                                                                                              • Custom Functions for Issues

                                                                                                                Automate your issues workflow using Custom Functions. A custom function is a piece of code that can be used for automating a process. You can write your own function in Deluge and call it from one or more business rules. It is similar to the built-in ...
                                                                                                              • Projects - Introduction

                                                                                                                Projects - Introduction All projects in the portal will be listed in this module. Click the project name to have a detailed look at each project. Project views List view Thumbnail view Switch view Click the hamburger icon at the top-left corner. ...
                                                                                                              • Introduction to Projects

                                                                                                                You can view all projects within the a selected portal from the Projects module in the mobile app. Grouped projects will be listed first, and ungrouped projects will follow. View Projects View your active projects or archived projects by selecting ...
                                                                                                              • DocuSign for Zoho Projects

                                                                                                                The DocuSign extension for Zoho Projects provides users with the e-signature functionality required to quickly complete approvals and agreements. With this extension, you can send documents, view their signing status, and even revoke the document ...
                                                                                                                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