The producer.redirect defined on item/record producer does not work in Service Portal.
Steps to Reproduce
Make sure that Service Portal plugin is enabled and home page has been set accordingly.
Log in to the instance.
Navigate to Record Producers and open Report an Issue.
Navigate to the Script section and add the following code at the end of the script (line 7).
Navigate to your Service Portal home page.
Navigate to Home > Service Catalog > Can We Help You? > Report an Issue.
Fill in the fields and click Submit.
Note that instead of the user being redirected to the /home.do page, there is no redirection and only the incident creation message shows up and vanishes.
This problem has been fixed in Jakarta, with the 'Redirect To' field to configure at each individual Record Producer level. Users have the ability to override all of the above settings by explicitly coding the redirect in the script of the record producer:
> to enable the redirect within the Platform UI
> to enable the redirect within the Service Portal
This fix only addresses redirection in Record Producer scripts, it does not add support for action.setRedirectURL in Business Rules or UI Actions. PRB1164776KB0621041 is under review for an enhancement to add support for action.setRedirectURL.
Related Problem: PRB683264