Set Change Requester's reporting_to user as Change Approver

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.

Steps to follow:
  1. Goto Admin > Developer Space > Global function > New > Paste the content from the attachment  Global_function_4.txt  and save it with a name.
  2. Update the URL and integration key in the script. 
    1. You can get the integration key under Admin > Integrations > Integration Key > New
    2. Please use an integration key with admin privilege, as there wont be any role related permission issues. 

    3. Update the integration key in the global function.

    4. Incase of older builds you can use the techniciankey with admin privilege.
  3. Go to Admin > Developer Space > Change Custom Functions. Create a new function.
    1. Refer to the attached script. (setChangeApprover.txt.)
    2. Update the global function count in the script as per your instance.

  4. Configure Change custom trigger to get executed on every change request being created.





                  New to ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • 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 > ...
                      • How to populate requester details in request additional field

                        Requirement: Populate requester additional field information into request additional field. Usecase: Let us consider a scenario where certain employee details are imported from the Active Directory into User - Additional Fields. The business ...
                      • 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", ...
                      • Set "Reporting to" person and his manager as approvers for approval process - Deluge

                        Use Case: Any request raised by a user needs approval from their direct "Reporting To" manager.  This is configurable using $reporting_to$ variable in the template workflow.  In certain cases, it might require a second level of approval, which would ...