Deluge script executions | Zoho Creator Help

Deluge script executions


This API service lets you manage the different functionalities in a form.

Deluge script executions

Methods
This should be called to execute the "on user input" deluge script of a field in a form. It should be called after a user has completed giving input for the field.
Use  "FieldProtocol.onUserInputExists"  to find out if the field has an "on user input" script.
 
This should be called to execute the "on user input" deluge script of a field while editing a record in the report. It should be called after a user has completed giving input for the field.
use  "FieldProtocol.onUserInputExists"  to find out if the field has an "on user input" script.
 
This should be called to execute the "on add row" deluge script in a subform every time a new entry has to be added. It should be called before showing the subform.
Use  "SubFormField.onAddRowExists"  to find out if the subform field has an "on add row" script.
 
This should be called to execute the "on add row" deluge script in a subform every time a new entry has to be added. It should be called before showing the subform. This method is applicable while adding a record from report.
Use  "SubFormField.onAddRowExists"  to find out if the subform field has an "on add row" script.
 
This should be called to execute the "on add row" deluge script in a subform every time a new entry has to be added. It should be called before showing the subform. This method is applicable while editing a record in a report.
Use  "SubFormField.onAddRowExists"  to find out if the subform field has an "on add row" script.
 
This should be called to execute the "on delete row" deluge script in a subform every time an entry is deleted.
Use  "SubFormField.onDeleteRowExists"  to find out if the subform field has an "on delete row" script.
 
This should be called to execute the "on delete row" deluge script in a subform every time an entry is deleted. This API is applicable while adding a record from report.
Use  "SubFormField.onDeleteRowExists"  to find out if the subform field has an "on delete row" script.
 
This should be called to execute the "on delete row" deluge script in a subform every time an entry is deleted. This API is applicable while editing a record in a report.
Use  "SubFormField.onDeleteRowExists"  to find out if the subform field has an "on delete row" script.
 
This should be called to execute the "button click" workflow when a button is clicked in a form where data is not stored in Zoho Creator.
Use  "Button.onClickExists"  to find out if the button field has an "button click" script.
 
executeOnUserInput(for:withDelegate:form:)

Parameters

fieldAccessPath The access path of field for which on user input is to be triggered.
delegate A delegate to get the Form object of the on user input actions.
form A Form object in which the actions are to be executed.
 
executeOnUserInput(forRecordID:reportLinkName:and:withDelegate:form:tagId:)

Parameters

recordID The ID of the record that needs to be updated.
reportLinkName The report link name.
fieldAccessPath The access path of field for which on user input is to be triggered.
delegate A delegate to get the Form object of the on user input actions.
form A Form object in which the actions are to be executed.
 
executeOnAddRow(forSubFormField subFormField:FieldProtocol, form:Form, delegate: FormOnUserInputResponseProtocol?, completionHandler:@escaping (Result<WorkFlowChangeSet>) -> Void)

Parameters

subFormField A sub-form field for which the deluge script has to be executed.
form A Form object in which the actions are to be executed.

         delegate

   A delegate to get the Form object of the on        user input actions.
completionHandler The Form object and Error will be returned to the completionHandler.
 
executeOnAddRow(forReportLinkName reportLinkName:String,forSubFormField subFormField:FieldProtocol, form:Form, delegate: FormOnUserInputResponseProtocol?, completionHandler:@escaping (Result<WorkFlowChangeSet>) -> Void)

Parameters

reportLinkName The report link name.
subFormField A sub-form field for which the deluge script has to be executed.
form A Form object in which the actions are to be executed.

         delegate

  A delegate to get the Form object of the on        user input actions.
completionHandler The Form object and Error will be returned to the completionHandler.
 
executeOnAddRow(withRecordID:forReportLinkName:forSubFormField:form:completionHandler:)

Parameters

recordID The ID of the record that needs to be updated.
reportLinkName The report link name.
subFormField A sub-form field for which the deluge script has to be executed.
form A Form object in which the actions are to be executed.
completionHandler The Form object and Error will be returned to the completionHandler.
 
executeOnDeleteRow(forRowNumber rowNumber:Int, inSubFormField subFormField:FieldProtocol, form: Form, delegate: FormOnUserInputResponseProtocol?, completionHandler:@escaping (Result<WorkFlowChangeSet>) -> Void

Parameters

rowNumber Index for which the deluge script should get executed.
subFormField A sub-form field for which the deluge script has to be executed.

         delegate

    A delegate to get the Form object of the on       user input actions.
form A Form object in which the actions are to be executed.
completionHandler The Form object and Error will be returned to the completionHandler.
executeOnDeleteRow(forReportLinkName reportLinkName:String,forRowNumber rowNumber:Int, inSubFormField subFormField:FieldProtocol, form: Form, delegate: FormOnUserInputResponseProtocol?,completionHandler:@escaping (Result<WorkFlowChangeSet>) -> Void)

Parameters

reportLinkName The report link name.
rowNumber Index for which the deluge script should get executed.
subFormField A sub-form field for which the deluge script has to be executed.
form A Form object in which the actions are to be executed.

          delegate

  A delegate to get the Form object of the on        user input actions.
completionHandler The Form object and Error will be returned to the completionHandler.
executeOnDeleteRow(withRecordID recordID:String,forReportLinkName reportLinkName:String,forRowNumber rowNumber:Int, inSubFormField subFormField:FieldProtocol, form: Form, delegate: FormOnUserInputResponseProtocol?, completionHandler:@escaping (Result<WorkFlowChangeSet>) -> Void)

Parameters

recordID The ID of the record that needs to be updated.
reportLinkName The report link name.
rowNumber Index for which the deluge script should get executed.
subFormField A sub-form field for which the deluge script has to be executed.
form A Form object in which the actions are to be executed.

          delegate

   A delegate to get the Form object of the on        user input actions.
completionHandler The Form object and Error will be returned to the completionHandler.
executeOnClick(for:form:completionHandler:)

Parameters

button A button for which the event is triggered.
form A Form object in which the actions are to be executed.
completionHandler The Form object and Error will be returned to the completionHandler.

    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

                                                                                                              • Deluge script executions

                                                                                                                ZCFormAPIUtil This utility lets you make use of the forms of your Zoho Creator applications in your Android apps. Note: Zoho Creator's Mobile SDK is currently a Beta feature. We do not recommend using it for apps in the production stage. Deluge ...
                                                                                                              • Configure deluge script on approval process

                                                                                                                To configure the Deluge script on approval process: Choose the form that you want to set the Approval process to and name the workflow. Click Create Workflow. Read more Add a new approver to the workflow. Read more Navigate to the required approval ...
                                                                                                              • Configure deluge script on success action

                                                                                                                You must create a workflow before configuring the deluge script on success event. Refer this section to learn how to create a form workflow. To configure the deluge script on success: While creating a new workflow choose the Successful form ...
                                                                                                              • Understand deluge script on approval process

                                                                                                                In the approval process, you can create customized actions using Deluge script and configure them to be executed on approval or denial of a record by the approver. Let's assume you have an application named Employee Management where the employees ...
                                                                                                              • Understand deluge script on success action

                                                                                                                The actions that you define in the On success event will be executed when a new record is successfully submitted to the database or when an existing record is updated or deleted from the database. You can write a Deluge script and associate it with ...
                                                                                                                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