Set Change Requester's reporting_to user as Change Approver
Requirement:
When a Change Request is submitted, Change requester's reporting to manager has to be set as Change Approver.
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. >> ...
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);
Change roles
SELECT chdt.changeid "Change ID", chdt.title "Title", orgaaa.first_name "Change Requester", ownaaa.first_name "Change Owner", ...
Change approval
SELECT chdt.CHANGEID AS "Change ID", chdt.TITLE AS "Title", orgaaa.FIRST_NAME AS "Change Requester", qd.QUEUENAME AS "Group", ownaaa.FIRST_NAME AS "Change Owner", catadef.CATEGORYNAME AS "Category", priodef1.PRIORITYNAME AS "Priority", ...
Dynamically set ChangeRequester's reporting to user as the Line Manager
Requirement: Change Requester's Reporting manager has to be set as the Line Manager. Steps to configure: 1. Download the attached scripts. Copy the contents into Change custom functions. 2. Goto Admin > Change Custom Function > Global Function > ...