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:
Configuration Steps
-
Navigate to Admin → Change Additional Fields >Create a Single Line Change Additional Field.
-
Add the newly created additional field to all available Change templates.
-
Go to Admin → Developer Space → Change Custom Function.
-
Copy and paste the attached script, then save it with an appropriate name.
-
Configure the script in a Custom Trigger and ensure it is executed whenever a new Change is created.
New to ADSelfService Plus?
Related Articles
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 ...
Asset Module Custom Functions
Sample Scripts for custom schedule. Steps to configure: 1. Copy the respective query and save the query report with a name. 2. Update the query report name in the custom schedule function script. 3. Configure a custom schedule with the custom ...