Assign Technician for the unassigned requests using Notification Custom Function

Assign Technician for the unassigned requests using Notification Custom Function

Requirement:
When a technician addresses an unassigned request, the corresponding ticket is automatically assigned to that technician.

Steps to configure:
1.  Download the attached scripts.  Copy the contents into Notification custom functions.

2.  Goto Admin > Developer Space > Global Function > New > Paste the global function contents and save it with a name.
Update the URL and integration/technician key in the script. 



3.  Goto Admin > Developer Space > Notification Custom Function > New > Paste the assign_technician.txt content and save it with a name
Update the global function count according to your instance.  In my instances, its global_function_5();


4.  Configure this in a custom trigger to get invoked every time a reply is received on a request. (Invoking Condition can be modified as per your requirement.

When technician T1 replies to the unassigned request custom trigger gets executed and T1 will be assigned to that request.

                  New to ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • Script to automatically assign a technician to an unassigned request based on the first response

                        When a technician responds to an unassigned request, the corresponding ticket will be automatically assigned to the specific technician. Tested in: Build 14306 (Postgres) Steps: Download the attached scripts. Under Admin > Developer Space > Global ...
                      • Notification script using Custom function in custom trigger

                        This is applicable from 10600 builds. From 10600 , Business rules dont have Email notification feature. The same use case be achieved through Custom triggers feature as mentioned below. Script to enable notification of request creation using custom ...
                      • Notify previous technician, when a request is reassigned

                        UseCase: We get default notification when a request is assigned, but there is no default notification when a request is reassigned to a different technician. Requirement: Assume a request is assigned to Technician A, and later reassigned to ...
                      • Risk Matrix for Change using Custom Module

                        PURPOSE: Creating Risk matrix for changes that automatically calculates the risk of a change based on its priority and impact. Similar to the Priority matrix in the request module. TESTED IN BUILDS: 14504 STEPS: Step 1: Configure the Custom Module: ...
                      • Technician Auto-Assign vs. Business Rule

                        If you have selected the option All requests under Tech Auto-assign then even if the Business rule sets a technician, tech auto-assign will reset the technician value. However, when Tech Auto-assign is set as an Unassigned request, Technician ...