Issue
Symptoms
action.setRedirectURL(url) does not work in UI Action for Service Portal
Release
Any release supporting Service Portal
Cause
As per the online docs link in the section below, setRedirectURL() operations are ignored because Service Portal forms handle redirection in a different way than the platform
Resolution
An enhancement request has been submitted via PRB1164776 add the functionality for future release
Additional Information
https://docs.servicenow.com/csh?topicname=unsupported-features-sp.html&version=latest?cshalt=yes