Review button visibility on Change request

Pallavi65
Tera Contributor

Hi all,

On the three types of change request (Normal, Standard, Emergency), I want to make Review button to be visible on the form only when all the corresponding change tasks are closed. Can someone let me know how can we achieve this?

 

Regards,

Pallavi

1 ACCEPTED SOLUTION

Martin Ivanov
Giga Sage
Giga Sage

Hi,please create the following script include:

find_real_file.png

 

 

then please edit the Review UI Action condition as per the screenshot:

find_real_file.png

Please Mark Correct AND Helpful. Thanks!


Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Martin Ivanov
ServiceNow MVP 2023, 2024

View solution in original post

8 REPLIES 8

Try to check each one of the conditions separately to see which one reutns false.


Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Martin Ivanov
ServiceNow MVP 2023, 2024

Hi Martin,

 

I guess we need to check Implement UI button code also. Because once the stage moves to Implement, the Review button will be visible i guess. So can you please check that scenario also plz

 

Regards,

Pallavi

Sorry it is my fault. I made a mistake in the scrip, because of the hurry.

In the script include on line 8 replace

addActiveQuery with addQuery.

This way it should work. Please Mark correc and helpful my first comment with the screenshots. thanks


Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Martin Ivanov
ServiceNow MVP 2023, 2024

Martin Ivanov
Giga Sage
Giga Sage

Hi. If your issue is resolved and my response has helped, plese consider marking Correct and Helpful. Thanks!

Martin Ivanov

2022 Community Rising Star

 


Please mark Correct and click the Thumb up if my answer helps you resolve your issue. Thanks!
Martin Ivanov
ServiceNow MVP 2023, 2024