Description
If there is any UI script with UI type set to 'All' then it runs in service portal while submitting any catalog item.
Steps to Reproduce
- Log in to any affected instance.
- Create new UI script with UI type set to "All'(refer to screenshot attached)
- In the script, just write alert('snc test")
- Go to service portal and submit request for any catalog item. For example: ,click on 'Get Help' and select 'New Hire'
Expected Behavior: Form should open without any alert.
Actual Behavior: Form opens with a pop-up which says 'snc test'
Workaround
This is expected behavior and by design in the current releases.
Related Problem: PRB1362250