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?