Change Requester role to be played only by technicians.

Change Requester role to be played only by technicians.

Please go to Admin - Field and form rules and add the below script. 


var additionalField = "UDF_CHAR2";

$CS.referField(additionalField, "technicians", {url: "/api/v3/technicians"}); 
$CS.element(additionalField).on("change", function() {
$CS.setValue("INITIATOR",$CS.getValue(additionalField));
});



Screenshot for reference:


                    New to ADSelfService Plus?

                      • Related Articles

                      • Script to set Change Approver based on the Requester's Reporting to

                        Tested in build 14306 Requirement: When a change is created, the Change Approver role is to be filled automatically with the Change Requester's "Reporting to" user. Steps: >> Attached are the contents for Global and Change Custom Functions. >> ...
                      • Script to automatically populate the "Line Manager" role based on the Change Requester

                        "When a Change Request is created, the Line Manager role will automatically be assigned to the user specified in the 'Reporting to' field of the particular Change Requester. Tested in builds: 14300 and 14303. Download the scripts attached. Global ...
                      • Change roles

                        SELECT chdt.changeid               "Change ID",         chdt.title                  "Title",         orgaaa.first_name           "Change Requester",         ownaaa.first_name           "Change Owner",  ...
                      • Converting a requester to a technician

                        Please follow the below steps to convert a requester to a technician. Step 1 (If the requester is already added under MSP Requester): 1) Log in as an administrator. 2) Go to Admin tab>>MSP Details>>MSP Requester(Left hand column). 3) Click on the ...
                      • Change Submission and Planning stage details (PGSQL)

                        Tested in build PGSQL (14300) SELECT cdt.changeid "Change Request ID", orgaaa.FIRST_NAME AS "Change Requester", ownaaa.FIRST_NAME AS "Change Owner", cmDef.FIRST_NAME AS "Change Manager", manager.name "Line Manager", implementer.name "Change ...