How to update Request Additional fields and Mode Field during request create/update using Business Rules

How to update Request Additional fields and Mode Field during request create/update using Business Rules

This is a sample python script to update the Request Additional Field Values and Mode during request create/update based on certain criteria using Business Rules

Execution Steps: 

1. Download the attached zip
2. Move the files to sdp_home/integration/custom_scripts folder
3. Edit BR_updateFieldsV3.py and update Request Additional fields & values based on your requirement
(Note: You can add any number of additional fields to the udf_fields JSON based on your requirement) A Screenshot for your reference



For finding additional field id go to Admin --> Incident Additional field



4. Configure business rule as in the attached screenshot.


                  New to ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • 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 -> ...
                      • How to update E-mail Id(s) To Notify using business rules

                        This is a sample python script to update the E-mail Id(s) To Notify during request create/update based on certain criteria using Business Rules Prerequisite: The SDP-MSP server should be configured to execute python script. Steps available here.  ...
                      • 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 ...
                      • Script to create a number sequence under Request Additional field

                        Below script can be used to create a number sequence under Request Additional Field using Request Custom Function and Business Rule. Steps to Configure : * Navigate to Admin > Request Additional field. Create a single line request additional field, ...
                      • 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 ...