Configuring Deluge script for schedule workflows | Zoho Creator Help

Configuring Deluge script for schedule workflows

What does this page cover

Learn how to configure Deluge script actions in schedule workflows to run custom logic and handle advanced operations at a defined time using Deluge. Before proceeding, ensure you have a comprehensive understanding of schedule workflows and how to create them.

Availability 

  1. Available in all plans of Creator
  2. Can be accessed by super admin, admins, and developers

1. Deluge script for schedule workflows

The Deluge script action allows you to write and execute custom logic using the Deluge scripting language as part of your schedule workflows in Zoho Creator. It provides a flexible, code-based approach to automating processes and handling complex business requirements that go beyond the capabilities of predefined actions available in schedule workflows.

This action can be configured to run at a scheduled time, either through a custom schedule (on a fixed date and time or periodically) or a form schedule (based on a date-time field in a form). You can define your logic using Deluge scripting to perform advanced operations such as multi-step calculations, updating multiple related modules across applications, executing conditional logic involving external data, integrating with third-party services through custom API calls, or handling multi-level data validation.

Scripts are written directly in the Deluge editor within the workflow builder, enabling you to automate time-based processes tailored to your application's needs.

1.1. Steps to configure Deluge script

  1. Create a schedule workflow based on the supported schedule workflow type for configuring the Deluge script action.
  1. Click Add New Action in the workflow builder.
  1. In case of a form-based schedule workflow, you can set criteria to define which records the schedule action should run for.
    1. By default, it is set to Always, which means the action will execute for all records.
    2. To run the action only for specific records, choose on condition and define the necessary condition or criteria. Learn more about configuring conditions in a workflow.

  1. Select Deluge script action to open the Deluge editor.
  1. Write the required Deluge code and click Save. You can also use the various features of the Deluge editor to simplify scripting. Learn more
  1. Click Done in the top right corner of your screen.

2. Points to note

  1. Info message cannot exceed 50KB. Otherwise, the message will be truncated.
  2. You can send up to a maximum of three email notifications with attachments. The maximum size of file attachments(audio, video, and image) allowed is 15 MB. If the attachments exceed this limit, the emails will be delivered without them.
  3. If you want to get the file content of the specified file or create a file object using the required content, the respective file size should be less than 2 MB.
  1. Schedule workflow actions
  2. Configuring notification actions for schedule workflows
  3. Configuring data access actions for schedule workflows
  4. Configuring integrations for schedule workflows

Previous step
Previous step

Before learning about configuring Deluge script actions in schedule workflows, ensure you have an understanding of how schedule workflows function and how they are configured.