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

                    • Sample script implementation

                      Configuring the Script: Auto-Resolve and Close Request This script automatically applies a default resolution and closes the request. With the Import Sample Script feature, setup is quick and requires no manual coding. 1. Import the Script Navigate ...
                    • 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 ...
                    • Script to Auto share request

                      1. Download MSP_share_Request.zip from the attachment, extract it, and paste the same under ManageEngine\ServiceDesk Plus MSP\integrations\Custom_scripts.          # auto_share_MSP.py      # functions.py      # configuration.json 2. ...
                    • 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);
                    • 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 - ...