Custom actions refer to user defined actions that can be performed on different entities across modules. For a custom action to be performed on an entity, it should be used with automation rules, subject to the availability of support.
| Availability across Modules
|
Custom Action
| Requests
| Tasks
|
|
Field Updates
| Business Rules
Request Life Cycle (during transition)
| -
|
Notifications
| Business Rules
Request Life Cycle (after transition)
| -
|
Custom Functions
| Business Rules
Request Life Cycle (during/after transition)
Triggers
| Triggers
|
Execute Scripts
| Business Rules
Request Life Cycle (during/after transition)
Triggers
| Triggers
|
Execute Class
| Triggers
| -
|
Webhooks
| Business Rules
Request Life Cycle (after transition)
Triggers
| Business Rules
Request Life Cycle
|
If-If
| Triggers
| -
|
If-Else
| Triggers
| -
|
Field Update
Auto-update a field value as per request criteria.
- Under Actions, click select Custom Action > Field Update.
- Select the field and the corresponding value to update.
- You can choose to override existing field values with the rule value.
Use $ symbol to update user-related fields dynamically with the logged-in user.
You can add up to 2 field updates in a rule.
Notification
Send customized email alerts to users.
- Under Actions, select Custom Action > Notification Action. The email notification template window opens.
- Choose an existing notification template or create a new template by clicking New Template from the displayed form. Fill out the displayed form and add attachments if any.
- Enter the recipients of the email/SMS. You can manually enter the mail IDs or choose from the list of placeholders. Supported placeholders are as follows
- $Contact
- $Ticket_Owner
- $Group_Members
- $On_Behalf_Of_Users
- $Editor
- $CC_Users
- $Support_reps
- $Task_Owners
- $Linked_To_Request_Owner
- $Linked_Requests_Owners
- $Dependent_Requests_Owners
You can also use additional fields as variables.
- Click Save.
Custom Functions
Manipulate data within SupportCenter Plus and other external applications. Custom functions are written using Deluge, Zoho's propriety language.
You can configure custom functions under
Admin >
Developer Space >
Custom Functions.
Visit this page to learn more.
After creating custom functions, you can select a custom function as the action for an automation.
- Under Actions, select Custom Action > Custom Function.
- Select the custom function to be executed. You can also create a functions instantly if needed.
- Click Save.
Execute Scripts
Create a script using any scripting language and upload it to SupportCenter Plus.
Refer to this page to learn how to write custom script files using python.
- Place the script file under [SCP_Home]/integration/custom_scripts directory.
- Under Actions, select Custom Action > Execute Script.
- Copy the script file name and paste it in the text box.
- Click Save.
You cannot configure custom functions and scripts within the same rule.
Execute Class
Create a class file specifying the actions to be executed.
- Place the class file under [SCP_Home]/integration/lib/ directory.
- Under Actions, select Custom Action > Execute Class.
- Copy the class file name and paste it in the text box.
- Click Save.
Webhooks
A webhook enables user to call an external URL or API to facilitate communication between ServiceDesk Plus and any third-party applications.
You can configure webhooks under
Admin >
Developer Space >
Webhooks.
Visit this page to learn more.
After creating webhooks, you can select a webhook as the action for an automation.
- Under Actions, select Custom Action > Webhook.
- Select the webhook to be executed.
- Click Save.
If-If Actions
Bundle multiple custom actions and execute them when the specified criteria is met.
You can configure only one If-If action for an automation rule.
The blocks in the If-If action are evaluated sequentially and executed based on criteria match. You can add up to 10 If blocks and configure up to three actions in each If block.
Following are some of the custom actions supported by the If-If action:
If-If action in timer during rules - You can configure field updates, custom functions, scripts, or negate action.
If-If action in after rules/custom triggers - You can configure notifications, custom functions, custom scripts, or webhooks as custom actions.
|
- Under Actions, select Custom Action > If-If.
- Configure the criteria using the drop-down lists. You can create up to 10 criteria using AND/OR combinations.
- Configure an actions: notifications, field updates, custom scripts, custom functions, custom class, webhooks, or negate action.
- Click Add If block to add another block or click Update.
If-Else Actions
Configure actions when the criteria is met and alternate actions when it is not met.
You can configure only one If-Else action for an automation rule.
The blocks in If-Else action are validated sequentially. The action has three types of blocks: If, Else-If, and Else.
If block *
| Executes actions based on criteria match.
One If block is available by default.
|
Else-If block
| Validates the Else-If block only when the If block is not executed.
Executes actions based on criteria match.
You can add up to 8 Else-If blocks in between If and Else blocks.
|
Else block *
| Executes Else block only when both If block and Else-If block are not executed.
One Else block is available by default.
|
* Mandatory blocks
- Under Actions, click Select Custom Action > If-Else.
- In the If block, configure the criteria using the drop-down list. You can add up to 10 criteria using AND/OR combinations.
- Configure actions using the available options: notifications, field updates, custom scripts, custom functions, class, webhooks, or negate action.
- To add an Else-If block, click Add Condition and configure criteria and actions.
- After defining If and Else-If blocks, configure an action in the Else block and click Update.
Related Articles
Custom Scheduled Function
SupportCenter Plus allows administrators to execute custom schedules using a built-in script execution tool called Custom Scheduled Function. The custom scheduled function scripts can be built from scratch using Deluge, Zoho's propriety scripting ...
Custom Triggers for Approvals
Use custom triggers to automatically set off predefined actions when an approval matches a defined criteria. You can configure email/SMS notifications, custom functions, or even custom scripts as custom actions. Custom triggers are categorized and ...
Custom Triggers for Notifications
Use custom triggers to automatically set off predefined actions on a notification that matches the criteria. You can configure email/SMS notifications, custom functions, or even custom scripts as custom actions. Custom triggers are categorized and ...
Custom Triggers for Notes
Use custom triggers to automatically set off predefined actions on a note that matches the criteria. You can configure email/SMS notifications, custom functions, or even custom scripts as custom actions. Custom triggers are categorized and executed ...
Request Custom Menu
You can create custom actions using HTML or Script file to perform a custom action on requests. To create a request custom menu: 1. Go to Admin>>Helpdesk Customizer>>Request Custom Menu. 2. Click Add New Menu. 3. Provide Menu Name and Description. ...