Skip Review - if a reviewer is not set in the Change

Skip Review - if a reviewer is not set in the Change

Say goodbye to unnecessary delays! We'll show you how to automatically adapt your workflow to skip reviews when they're not needed.
Find here, a custom function to skip the Review stage when there is no Reviewer assigned to the change.
 
In this custom function, when the change reaches the "Review -> In Progress" status, a trigger will be kicked in - which will use the custom function to check if a reviewer is assigned for this change, and if not present, change will skip the Review stage.

The custom function file (.docx) is attached 

Step 1 ) In your ServiceDesk plus instance, navigate to Admin > Developer Space >Change Custom function and create a custom function as below
      ( Copy the contents from the attachment & and paste it inside the Custom function canvas ) and save.



Step 2 ) Navigate to Admin > Automations > Custom Trigger > Change --- Create a Custom trigger as below


(Choose the Custom function name saved during Step 1 - in the dropdown "Script file to run".


To test the configuration, create a change with no user in the reviewer role, when the change reaches the "Review -> In Progress" status, change will skip the Review stage.


Regards,
Nandakumar Balaji,
Product Manager - ITSM.


                  New to ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • Change roles

                        SELECT chdt.changeid               "Change ID",         chdt.title                  "Title",         orgaaa.first_name           "Change Requester",         ownaaa.first_name           "Change Owner",  ...
                      • Change details

                        SELECT    chdt.changeid "Change ID",            chdt.title "Title",            Longtodate(chdt.createdtime) "Created Time",            Longtodate(chdt.scheduledstarttime) "Scheduled Start Time",  ...
                      • How to change the database from MySQL/PostgreSQL to MSSQL

                        The steps mentioned below are applicable only if you migrate the DB from PgSQL to MSSQL. This means that the application server is going to remain the same. The data alone is going to be transferred to MSSQL DB from the existing PgSQL DB.    For ...
                      • How to automatically assign users to different roles in a change request.

                        This script is applicable only for builds prior to 11138. This is a sample python script to read the value in the Change Owner field, when a Change Request is created and set him/her as the Change Implementer automatically, using Change Custom ...
                      • How to assign CAB members to a change request automatically.

                        Note:  Attached script will not work beyond 11138 SDP Version. ​ This is a sample script to add CAB Members to a Change Request through Change Custom Triggers.The CAB Members can only be added manually to the Change Request ,under the Approval Tab, ...