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 ADSelfService Plus?

                    • Related Articles

                    • Query to show an additional column action pending by in change request

                      Database: MSSQL SELECT "chdt"."CHANGEID" AS "Change ID", "chdt"."TITLE" AS "Title", LONGTODATE(chdt.CREATEDTIME) AS "Created Time", "ownaaa"."FIRST_NAME" AS "ChangeOwner", STUFF((SELECT ', '+ au.first_name + char(10) FROM changeroleusermapping crum ...
                    • Change Auto closure

                      This will be helpful in auto closing change request after X days it is in review stage. This use case is more suitable in environments where ONLY Requesters (customers) are the Change Reviewers and they want the Change to be closed if no review is ...
                    • Change Submission and Planning stage details (PGSQL)

                      Tested in build PGSQL (14300) SELECT cdt.changeid "Change Request ID", orgaaa.FIRST_NAME AS "Change Requester", ownaaa.FIRST_NAME AS "Change Owner", cmDef.FIRST_NAME AS "Change Manager", manager.name "Line Manager", implementer.name "Change ...
                    • Script to set Change Approver based on the Requester's Reporting to

                      Tested in build 14306 Requirement: When a change is created, the Change Approver role is to be filled automatically with the Change Requester's "Reporting to" user. Steps: >> Attached are the contents for Global and Change Custom Functions. >> ...
                    • Change roles

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