6. In the Clone page for the selected function, complete the following steps:
- Edit the name of the function if required.
- Add a description to the function (This step is not mandatory)
- Select the department & module to be associated.
- Under Argument Mapping section, map the argument with field name in Zoho Desk module.
- Click Save.
Now the gallery function is ready to be associated with a workflow rule.
The Deluge code will be pre-added based on the selected function, and you can modify it if needed.
Steps to associate custom function to a workflow rule
- Click the Setup icon (
) in the top bar.
- Click Workflows under the Automation menu.
- In the Workflow Rules page, click Create Rule in the upper right area.
- In the New Workflow page, provide some basic information about the workflow and click Next.
- In the following pages, specify the action for execution and the workflow rule parameters.
- Under Actions, click the Add Function icon (
) and then click Existing corresponding to Custom Functions.
- On the following page, select the custom function you want to associate and then click Save.
When you create a workflow for a specific module, you can associate only the gallery functions that are programmed for that module.