Script to Auto update Technician Field as Logged in User (Technician)

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);

 

                  New to ADSelfService Plus?

                    • Related Articles

                    • Script to auto-populate the task owner field with the technician who created the request

                      REQUIREMENT: When a technician creates a request and a task is added under the request, the task owner should be the same technician. TESTED IN: Builds 14503 (Postgres) STEPS: 1) Under "Admin" > "Task Custom Functions," create a new custom function ...
                    • 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 ...
                    • Asset auto assign fails

                      When trying to auto assign Owner for assets if it shows failed for all assets with screen shot like shown below, As you can see from the above screen shot that the Suggested Owner field is Empty for all assets. In such cases, you can observe the ...
                    • 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 - ...
                    • How to set the requester field as logged in user

                      Go to Admin >> Field and Form Rules >> Create a rule with the below script var user = { name:$CS.getLoggedInUserLoginName(), id:$CS.getLoggedInUserId() }; $rf.setFieldValue('requester',user);