Custom Functions help you meet your unique business requirements. With these functions, you can write code in JavaScript, run your code within Zuper, and create a workflow for your users.
1. Select the “Settings” module from the left panel.
Enter Function Name (Mandatory Field) – A unique name identifying the function.
Choose Function Module (Mandatory Field) – From the dropdown box, choose the module for which the custom function is applicable.
Enter Function Description – Enter the description of the custom function.
5. The
custom function is successfully created.
Once a Custom
Function is created, you can edit, activate/deactivate, view, and delete it.
For the created custom function now, the workflow is associated with the following steps:
i) Enter Workflow Name – Enter the name of the workflow.
ii) Enter Workflow Description – Enter the description of the workflow.
iii) Workflow Applicable To – Choose the applicable option for whom workflow is applicable.
iv) Allow Update Done Through Workflow To Trigger a Workflow – Choose either “Yes” or “No.”
When – Choose the Module and Event.
If the following conditions are met – Choose the Field Name, Operator, and Job Category.
Then do these actions – Select the Module and Action Type. Choose the type of operation as “Execute Custom Function”. Choose the Custom Function as an applicable custom field.
Now select “Save Workflow.”
When you execute the custom function, you can find the history of the custom function in the “Execution History” section.
1. Select the "Settings" module from the left panel, and under
the “Other Settings”, select the "Custom
Functions.”
The businesses can get the records of the custom function executed in the past.