Catalog UI Policies/Catalog Client Scripts are not triggered in Service Portal after clicking the Save button on pages that have the sp-variable-editor widget.
Open the Form widget (https://<instance-name>.service-now.com/sp_widget.do?sys_id=fd1f4ec347730200ba13a5554ee490c0).
Create a new record under the Dependencies related list.
Within the newly created widget dependency record, create a new record under the JS Includes related list.
Within the new JS include record, click on the magnifying glass button for the UI script field.
In the UI Scripts pop-up window, create a new UI script. Give the UI script a name, then copy and paste the contents of the attached file (workaround2-kp3.js.txt) into the Script field. Save all the changes.
Make a clone of the sp-variable-editor widget (https://<instance-name>.service-now.com/sp_widget.do?sys_id=1ceb35505b3022000d7ec7ad31f91a81).
Under the Dependencies related list, add the widget dependency created previously.
Within the cloned sp-variable-editor widget, scroll down to the Client controller section and add the following code below line 40:
This code line will trigger the Catalog UI policies to run again.