Update request additional field with Custom Request ID

Update request additional field with Custom Request ID

Requirement:
Each Organization's request ID format may differ.  In the current model, replacing the existing request id with these is not possible; however, the same can be replaced in an additional field.

Custom Format : 
Script 1:  202305221125001 (Year,Month ,Date,HH,MM,SS,Ticket ID)
Script 2: 
      Incident: IR1267
      Service: SR1267
Script 3: Any Custom number: eg: 3000

Steps to Configure:
  1. Goto Admin > Request Additional field
  2. Create a single line request additional field, common for both incident and service request. 
  3. Add this newly created additional field to all the request templates available.
  4. Goto Admin > Developer Space > Request Custom Function > Copy paste the attached script and save it with a name.

  5. For Script 1 and Script 2, configure the script in a Custom Trigger and ensure it runs whenever a new request is created. For Script 3, set it up in a Business Rule and ensure it runs for every new request created.

                  New to ADSelfService Plus?