Update Requester from Request Description

Update Requester from Request Description

Usecase:
When a request is submitted on behalf of a user via email, the request description includes the requester's full name. This must be parsed in order to update the ticket requester.

Steps to follow:
  1. Goto Admin > Request Custom Functions > 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 --> Request Custom Functions. Create a new function.
    1. Refer to the attached script. (updateRequesterFromDescription.txt.)
    2. Update the global function count in the script as per your instance.
    3. Sample Description content:

  4. Configure Request custom trigger to get executed on every request being created with "mode" as "email".


                  New to ADSelfService Plus?

                    • Related Articles

                    • 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 ...
                    • Import and update Requester from CSV (Comma Separated Value) Files

                      Import Requester from CSV (Comma Separated Value) Files You can also add requesters by importing from CSV files. To import requesters from CSV file   Step 1: Locate the CSV file Click Import from CSV link in the Requester List page. The Import ...
                    • Top Requester based on Request

                      This report is used to get the top 10 requesters count based on the request. To make any changes to a query, refer to the KB article below. https://pitstop.manageengine.com/support/manageengine/ShowHomePage.do#Solutions/dv/24000627781192 SELECT ...
                    • Update Task description with Request description.

                      Requirement: Copy the request description content to all the associated task description. Usecase: When a task is triggered from a request, it should contain the request description in the description of the task. This will enable task technician to ...
                    • Script for adding a new request according to the option selected by requester and new request created will be added to notes

                      This is a script for adding new request from a older request according to the option selected by the requester. If requester selects option A request must be closed , if requester selects option B a new request will be created and the new request ID ...