Script to Populate User Additional Field under Incident Template using FAFR

Script to Populate User Additional Field under Incident Template using FAFR

The script load the Requester Name under Incident Additional field ( As a pick list), by choosing the requester name under additional field the script populates the user additional field value.

* Kindly create two additional fields under Admin -> Incident Additional Fields 
   Additional field 1 - To display Requester name 
   Additional field 2 - To display User additional field updated for selected requester. 
   User Additional field - Which holds the value that needs to be displayed under the request template. 

Below is the column name for additional field 1 and additional field 2 ( which needs to be updated under the script)


API Field name - User Additional Field 




* Navigate to Admin - > Incident Template -> Edit the template and configure the rule as shown below (Under Form Load).  Modify the additional field column name and user additional field api name under attached script and update it under FAFR as shown below. 






                  New to ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • How to diff of two Date& Time fields using FAFR

                        If you have two date and time additional fields or default fields, and if you want to capture the difference between those two fields in Hours and minutes, then use the below script to capture the value in an additional field, Under the respective ...
                      • Script to set fields from CSV using FAFR.

                        Works in 10604 Requirement: Load Data from CSV depending on the value selected in an additional field. Usecase: Assume there are 3 additional fields for a request template, namely, "Reference number", "Payment type and "Vendor". "Reference number" is ...
                      • FAFR - Sample script to have the additional field value appended to the actual subject line

                        Here is a sample script to be used in FAFR to have the additional field info appended to the actual subject line, var contract=$CS.getValue("WorkOrder_Fields_UDF_CHAR5"); var subject=$CS.getValue("SUBJECT"); var new_subject = subject + " : " + ...
                      • How to import user additional fields using LDAP

                        In order to import additional fields or map any other fields in AD to the system fields, a row needs to be updated with the appropriate values You can follow the below steps 1. Take a trimmed backup of the database. 2. Connect to the Database 4. Run ...
                      • Custom script to add content from an additional field next to subject in a request Template

                        Please follow the below steps: * Open the desired request template and Navigate to Field and form rules. * Click "on field change" and create new rule. * Set rule execution as "On Create / Edit" * Set "Execute script" as action. * Add the below ...