Description
The 'Show Workflow' UI Action generates a wrong URL link when used in CMS pages, adding the CMS site prefix, for example, '/ess'.
The URL generated failing to display the frame is:
https://demonightlyeureka.service-now.com/ess/context_workflow.do?sysparm_stack=no&sysparm_sys_id=6459a6ba2b9221006c59ae6219da15a5&sysparm_show_all=true&sysparm_stack=no
When removing the /ess section, the workflow shows correctly:
https://demonightlyeureka.service-now.com/context_workflow.do?sysparm_stack=no&sysparm_sys_id=6459a6ba2b9221006c59ae6219da15a5&sysparm_show_all=true&sysparm_stack=no
The URL generated failing to display the frame is:
https://demonightlyeureka.service-now.com/ess/context_workflow.do?sysparm_stack=no&sysparm_sys_id=6459a6ba2b9221006c59ae6219da15a5&sysparm_show_all=true&sysparm_stack=no
When removing the /ess section, the workflow shows correctly:
https://demonightlyeureka.service-now.com/context_workflow.do?sysparm_stack=no&sysparm_sys_id=6459a6ba2b9221006c59ae6219da15a5&sysparm_show_all=true&sysparm_stack=no
Steps to Reproduce
- Navigate to the base system ESS pages:
https://<Eureka instance>.service-now.com/ess/change_request_list.do?sysparm_query=active%3Dtrue - Select a change associated with a Workflow Context (for example, any change that displays the Related Links > Show Workflow option).
- Select Related Links > Show Workflow. This URL launches and displays a blank page:
https://<Eureka instance>.service-now.com/ess/context_workflow.do?sysparm_stack=no&sysparm_table=change_request&sysparm_document=f4b5ff312b5631006c59ae6219da1553&sysparm_stack=no - Modify the URL and note that this works:
https://<Eureka instance>.service-now.com/ess/../context_workflow.do?sysparm_stack=no&sysparm_table=change_request&sysparm_document=f4b5ff312b5631006c59ae6219da1553&sysparm_stack=no - Note that removing the CMS site's URL suffix works:
https://<Eureka instance>.service-now.com/context_workflow.do?sysparm_stack=no&sysparm_table=change_request&sysparm_document=f4b5ff312b5631006c59ae6219da1553&sysparm_stack=no
Workaround
- After clicking the Show Workflow link, remove from the URL the reference to the CMS site name, for example, base system: /ess
- Reload the page to allow the workflow to show correctly.
Related Problem: PRB605793