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