Timer actions allow you to execute time-delayed automated actions on requests and records.
Supported modules: Requests and Custom Modules
Requests
When an incoming request satisfies a predefined timer criteria-condition, ServiceDesk Plus calculates the wait time of requests and schedules the timer accordingly. When the wait time is completed, the timer actions will be executed.
The system calculates the wait time for records that meet specific conditions and triggers the action after the delay period ends.
Configuring During Rules and After Rules is essential for the smooth execution of timer actions.
Role required: SDAdmin and HelpdeskConfig
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy84NjYvMTQyNjIvY2tmaW5kZXIvaW1hZ2VzL3F1LzIwMjUvaW1hZ2UoODkpLnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc2NzM2MTc5M319fV19&Signature=NjFmp51IRYJxFj5LppBtWPG3YB8kW9W4xK1YGJpTW7bT-oSPyLZHBE7B9X8h6xdAVvsYB~~IxPImQths7tRI6rCViCy~GbRVBlleGSiNgnjvS894H1Q5YhEgOWMfSryyM5cVWnyy-pBFg-ZQf1crj7naR6SwB7O7Lh4tpL9DS5kAH7RiNrPZc2GfIcC467DWvZDOIu2bYWMLlykqqRwW16Q~QM~r9Ya1FyCq82l-5U55~oBFL-jhxXYXKsKnzRLy4Vh1dKRIKGoLS402mCpGoe3CZ99mbf9FpCEAcePgl04Ahlw-YeGdu1MHkLg44NzpgGE58KbTTtOQPlFQZtUZRw__&Key-Pair-Id=K2TK3EG287XSFC)
This page discusses timer actions under the following topics:
An incoming request goes through several stages before resolution and closure. During its transit, the request may stay idle in multiple stages for various reasons. Timer actions help you identify such prolonged wait times and trigger specific actions so that requests can be resolved quickly.
For instance, if a request is waiting for customer input, you can configure timer actions to send reminders for 3 days, and cancel the request on the fourth day of no response, along with a notification to the requester.

Timer actions, like other automation rules, can be configured to execute specific actions when specific conditions are met. However, there are some differences between timer actions and other automation rules.
ServiceDesk Plus provides several types of automation rules. When a Timer Action updates a request, multiple automation rules may be applicable to the request. In such cases, a clear order execution is defined in ServiceDesk Plus, as shown in the following diagram:

Besides the above order, Custom Schedules can be executed anytime.
Go to Admin > Automation > Timer Action > Request/Custom Module. Click New and fill out the attributes as specified below:
Name and Description: Provide a name and description for the timer action.
Action applies for (only for requests): You can apply the action for all templates or for selected templates. You can associate a maximum of 10 timer actions for a request template.
Condition: Choose the request criteria from the drop-down.
Stage: Configure stages to trigger actions at different times. You can add up to 10 stages. The stages will be executed sequentially.
➤ Initial delay: Set up a time delay to execute timer actions at a specific time or stage. For multiple stages, the wait time is calculated based on the execution time of the previous stage.
|
User defined |
Manually set the wait time by days, hours, and minutes. For example, 1 day and 6 hours. |
|
Date field duration |
Automatically calculates the wait time by before, after, percentage, and date matches of a request. Before - Execute rules before the request reaches the specified date/time. After - Execute rules after the request reaches specified date/time. Percentage - Execute rules when the request reaches specified completion percentage of date/time. Date matches - Execute rules when the request matches the specified date/time. |
➤ Repeat Every: Choose whether to repeat the action. Set the frequency and number of repetitions from the drop-down.
➤ Consider delay time on (applicable for requests only): Choose whether to consider the initial delay time only during business hours or SLA hours. If you choose SLA hours, you can pause the timer when the request moves to onhold, completed, or resolved states. If the delay time is not configured, the timer will run 24x7.
➤ Configure Actions or During Rules, and After Rules. After configuring actions or during and after rules, you can use cascade execution option to execute actions/rules in sequence or break the rule execution. Click Reorder to organize the rules.
Supported Actions
Requests: Field Update, Notification Action, Custom Function, Execute Script, Webhook, If-If, and If-Else.
Custom Modules: Field Update, Notification Action, Custom Function, Execute Script, If-If, and If-Else.
Click New Stage to add another stage.
Click Save or Save and Add New.
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy84NjYvMTQyNjIvY2tmaW5kZXIvaW1hZ2VzL3F1LzIwMjUvaW1hZ2UoOTApLnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc2NzM2MTc5M319fV19&Signature=bYrE8rNSt4w~EULav6oYx17OwhW6BsRcntgawT9TGy8mwbfTIYCYUFznBdMltGuUss~Lcnwf8f6wRUhO5Gx4HcdO0vBST~BdQB9TnovHmze9A3jeIvhynjy94KIojoJLTwYe8-OMfteTxgQfx6kWGXiaAdS35lrZJUNvERKY8GpG5sl2sWJuXn0dH2HDXs8CYDQQGIkOej2mLKqRWF~5faDU~QG~8EHsQiSYjYYG6IrbdPWk~bUXMAl7-nyo0~1blrsT9fXTSoyoRSkKXdcNlvD-1UixNloS6vKHWafW-vGwE-CA2Lm-KK1y2tu2mCxQpRKj1npZoacCoI302oDaNA__&Key-Pair-Id=K2TK3EG287XSFC)
Edit - Click
to modify the details of timer action.
Delete/Enable/Disable Timer Actions - Select the timer action and click the Actions menu to select the required option. You can also use the Toggle button beside the timer action to enable or disable it.
During rules are used to automate actions on requests when the stage delayed time is reached for a request. For each stage, you can add up to 5 During Rules, which will be executed in sequence. The request data modified by a During Rule will be considered when the next rule is validated.
Click During Rules > Add New Rule.
Use the pointers below to create a new rule:
Rule name and Description: Provide a name and description for the rule.
Execute during: Choose when to execute the rule: Anytime, Within Operational Hours, or Outside Operational Hours. If you choose within operation hours, the rule will be executed based on the site's operational hours of a request.
Criteria: Configure the criteria (optional) for requests. You can create up to 50 criteria using AND/OR combinations.
When a request arrives: Choose whether to execute custom actions or abort the process.
➤ Execute custom actions - The custom action will be executed on a request that meets the configured criteria. Select the custom action. Turn on Toggle to Override request values with rule.
To learn about updating a request field, click here.
To learn more about writing a custom script, click here.
To learn more about request custom function, click here.
To learn more about If-If action, click here.
To learn more about If-else action, click here.
You can configure a maximum of 5 actions in a During Rule: Script/custom function (1), field update (2), If-If (1), and If-else (1).
➤ Abort process execution - This option stops current stage execution. In case of stage repetition, executes actions after the wait time and proceeds to the next stage.
Click Save and Associate or Save.

If you want to reuse the existing During Rules, hover over the during rule section and click Associate Rule. Select the rules you want to associate and click Associate.
Edit During Rule - Click
beside the During Rule to modify its details.
Delete/Enable/Disable Rule - To delete, enable, or disable the rules, select the rules. Click Actions and select the required option. You can also use Toggle to enable or disable the During Rules.
After rules are used to automate actions within ServiceDesk Plus or third-party applications when the stage delayed time is reached for a request. For each stage, you can add up to 5 After rules, which will be executed in sequence.
Click After Rules > Add New Rule.
Use the pointers below to create a new rule:
Rule name and Description: Provide a name and description for the rule.
Execute during: Choose when to apply the rule: Anytime, Within Operational Hours, or Outside Operational Hours. If you choose to execute a rule within operation hours, it will be executed based on the site's operation hours of a request.
Criteria: Configure the criteria (optional) for requests using the drop-down list. You can create up to 50 criteria using AND/OR combinations.
Select Custom Action: Configure actions to be performed on a request. You can choose to trigger notification actions, execute custom scripts, custom functions, webhook (for requests only), if-if, or if-else actions. You can configure a maximum of 24 actions in an After Rule: Custom Script/Custom Function (1), Webhook (1), Notification Action (20), If-If (1), and If-else (1).
Click Save and Associate or Save.

If you want to reuse the existing After Rules, hover over the after rule section and click Associate Rule, select the rules, and click Associate.
Edit After Rule - Click
beside the After Rule to modify its details.
Delete/Enable/Disable Rule - To delete, enable, or disable the rules, select the rules. Click Actions and select the required option. You can also use Toggle to enable or disable the after rules.
The If-If action allows you to bundle multiple custom actions and execute them when the specified criteria is met.
Scenario: You can use If-If action to update multiple fields and assign the request to a technician.
For instance, if the service category is Application Login, you can configure to update the value of the impact field as Affects Business and if the request type is a Major Incident, you can move the level to Tier 1 and assign the request to a technician.
How Does If-If Action Work
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.
Configure If-If Action
Under Actions, click 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 the actions using the available options:
During Rules - Field Update, Custom Function, Execute Script, and Negate Action.
After Rules - Notification Action, Custom Function, Execute Script, and Webhook (for requests only).
Click Add If block to add another block or click Update.

You can use the If-Else action to configure actions when the criteria is met and when it is not met.
Scenario: You can use the If-Else action to update the impact field of the incoming requests based on the keywords in the subject and description fields.
If block - If the keyword in the subject is application frequently crashes, update the impact as Affects Business.
Else-If block - If the keyword in the subject is login, update the impact as Affects User.
Else block - Update the impact as Low.
How Does If-Else Action Work
The blocks in If-Else action are validated sequentially.
If-Else action has three types of blocks: If, Else-If, and Else.
|
If block* |
|
|
Else-If block |
|
|
Else block* |
|
* Mandatory blocks
Configure If-Else Action
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:
During Rules: Field Update, Custom Function, Execute Script, and Negate Action.
After Rules: Notification Action, Custom Function, Execute Script, and Webhook (requests only).
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.

Timer actions are part of the automation processes available in ServiceDesk Plus. They are applied to requests in the following sequence.
Match Criteria: When a user creates or edits a request, ServiceDesk Plus checks whether the request matches the defined timer criteria.
Schedule Timer: The timer is then scheduled, and ServiceDesk Plus calculates the initial delay time to execute the configured actions.
Execute During Rules/After Rules: After the configured time delay, the During Rules configured within the stage are triggered followed by after rules.
Check for Stage Progress: If stage repetition is configured, the repeat time is set, and actions are triggered again. For multiple stages, the workflow will be repeated for each stage sequentially.
Complete Timer Action: After all stages and actions are executed, the timer action is completed.

Following are some scenarios where Timer Actions can be configured:
These use cases are specific to requests.
|
Scenario |
Actions |
|
When a request is waiting for customer input, send reminders to requester and concerned stakeholders for a specific number of days. If there is no response from the customer, cancel the request and notify the requester about request cancellation. |
Stage 1:
|
|
Make all notes public two days after the request is closed. |
Stage 1: During Rule: Configure a custom script to make notes public. |
|
When a request is logged, search for resolution in all instances. If no resolution is found, assign the request to a technician one day after the request created date. |
Stage 1: During Rule: Configure a custom function to check keywords and copy resolution to the request. Stage 2: During Rule: Configure a field update to assign a technician. |
|
When a request is on hold for more than 3 days, send reminders to the technician to update the status. If no action is taken, escalate to group or site incharge. |
Stage 1:
|
|
To mark a technician as inactive in Active Directory after being relieved from the workplace. |
Stage 1: After Rules: Configure a custom function or webhook to mark the technician as inactive in Active Directory when the specified time is reached. |
|
Automatically create a request to extend technicians' access permission to the server. The request should be created one day before the end of expiry date. |
Stage 1: After Rules: Configure a custom function to create a request one day before the end date to extend access permission to the server. |
|
Move the ticket to In-Progress status and notify group incharge if the employee's relieving date is due. |
Stage 1: |