Update Change Additional Field with Custom Change ID

Update Change Additional Field with Custom Change ID

Requirement
Each organization may follow a different Change ID format. In the current system, replacing the default Change ID is not supported. However, a custom Change ID can be generated and stored in a Change Additional Field.
Custom Format
Examples of supported custom formats:
  • 2023-05-22-1 (Year-Month-Date-Change ID)
  • CHG-1267
Configuration Steps
  1. Navigate to Admin → Change Additional Fields >Create a Single Line Change Additional Field.
  2. Add the newly created additional field to all available Change templates.
  3. Go to Admin → Developer Space → Change Custom Function.
  4. Copy and paste the attached script, then save it with an appropriate name.
  5. Configure the script in a Custom Trigger and ensure it is executed whenever a new Change is created.


                    New to ADSelfService Plus?

                      • Related Articles

                      • Update Problem Additional Field with Custom Problem ID

                        Requirement Each organization may follow a different Problem ID format. In the current system, replacing the default Problem ID is not supported. However, a custom Problem ID can be generated and stored in a Problem Additional Field. Custom Format ...
                      • Generic Field Update Script

                        Requirement: Currently, every time one has to update a field with values, they need to adhere to a specific format, which can be challenging as not everyone is familiar with it. To simplify this process, we propose a generic function that can handle ...
                      • How to populate requester details in request additional field.

                        This sample script is to populate the requester details in a request additional field.  Based on the requester name selected, we can fetch the user additional field informations using Field and Form Rules (FAFR) and populate the content in request ...
                      • Populate user names along with their other informations in a request additional field

                        Requirement: This sample script is to populate both technician & requester names with their other informations, (eg: MobileNumber, Jobtitle, Department etc) in a request additional fields The username will appear in an additional field within a ...
                      • 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 : Example: 202305221125001 ...