To set the logged in user as a requester and to disable the requester field selection during request creation.

To set the logged in user as a requester and to disable the requester field selection during request creation.

By configuring this rule in the template when any user raises a ticket with this template they will be set as the requester by default for the ticket.(Applicable for admin, Requesters and technicians)

1. Go to the template you want to restrict the requester>>Click Field and form rules>>On form load>>Create a rule as per the below snapshot.

Script: 
var x=$CS.getLoggedInUserName();
$CS.setValue("REQUESTER",x); 



2. To disable the requester field selection -->Create another rule in on form load>>Create a rule as per the below snapshot.



Output:



                  New to ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • 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);
                      • How to disable the Created Date field for technicians

                        1. Roles Under Admin >> Roles >> Disable the below access The above option will disable the user from modifying Created Date, Resolved Date, Dueby Time. 2. Field and Form Rules If the requirement is to disable only Created Date field.  Under Admin >> ...
                      • Script to Populate User Additional Field under Incident Template using FAFR

                        The script load the Requester Name under Incident Additional field ( As a pick list), by choosing the requester name under additional field the script populates the user additional field value. * Kindly create two additional fields under Admin -> ...
                      • Update Requester from Request Description

                        Use case: When a request is submitted on behalf of a user via email, the request description contains the requester's full name. Script to update the ticket requester accordingly. Tested on builds: 14306,14500. Steps to follow: Go to Admin > Request ...
                      • Set SLA automatically for a service request using FAFR

                        Note: The below FAFR script will work only on 10600 MSP and above Requirement: Set SLA automatically for a service request depending on the Priority. Usecase: Let us consider a scenario where SLA has to be set depending on the requester's associated ...