Update status on Technician auto assign
Requirement:
Updating request status when a technician is assigned through technician auto assign.
Steps to configure:
- Goto Admin > Developer Space > Request Custom Functions > Global function > New > Paste the content from the attachment GF_4 - Configuration.txt and save it with a name.
- Update the URL and integration key in the script.
- You can get the integration key under Admin > Integrations > Integration Key > New
- Please use an integration key with admin privilege, as there wont be any role related permission issues.
- Update the integration key in the global function.
- https://help.servicedeskplus.com/api/rest-api.html$key
- Go to Admin > Developer Space > Request Custom Functions > Custom Actions > Paste the content from the TAAUpdateStatus.txt and save it with a name.
- Modify the below in the script:
- Global Function name\count
- Status Name
- Status Change Comments
- Configure custom trigger as below to get invoked every time a request is created.
New to ADSelfService Plus?
Related Articles
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 ...
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 ...
Script to Auto update Technician Field as Logged in User (Technician)
1. Navigate to Admin >> Incident template >> Field and Form Rule Tab * Update the script under Form Submit ->Execute Script: $CS.setText("TECHNICIAN",sdp_user.USERNAME);
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 ...
Queries to show time stamp and time taken to first response, first tech assign, first group assign and first status set time ( MSSQL )
Tested in MSSQL build (14306) MSSQL: First responded time: SELECT wo.WORKORDERID "Request ID", wo.TITLE "Subject", aau.FIRST_NAME "Requester", ti.FIRST_NAME "Technician", LONGTODATE(wo.CREATEDTIME) "Created Time", LONGTODATE(wo.RESPONDEDTIME) ...