- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-01-2022 08:52 AM
Hello dear community I need help:
I need in the workspace to be able to display the workflow (just like in a request within the Service Now platform).
Ej: We select this on the platform:
To display the workflow:
In order to do this in the workspace I did the following:
I selected: Workspace form button and Format for configurable workspace
The button appears in the workspace, but nothing happens when you click it:
I need to select the "Show workflow" button to display the workflow. Can someone help me to solve this?
Thanks in advance
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-01-2022 12:46 PM
hello
try putting this script in workspace client script
function onClick(g_form) {
// Show the workflow context in a new window
var url = new GlideURL('/context_workflow.do');
url.addParam('sysparm_stack', 'no');
url.addParam('sysparm_table', 'sc_req_item');
url.addParam('sysparm_document', g_form.getUniqueValue());
g_navigation.open(url.getURL(), "_blank");
}
Hope this helps
please mark my answer correct if this helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-01-2022 12:46 PM
hello
try putting this script in workspace client script
function onClick(g_form) {
// Show the workflow context in a new window
var url = new GlideURL('/context_workflow.do');
url.addParam('sysparm_stack', 'no');
url.addParam('sysparm_table', 'sc_req_item');
url.addParam('sysparm_document', g_form.getUniqueValue());
g_navigation.open(url.getURL(), "_blank");
}
Hope this helps
please mark my answer correct if this helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2022 06:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-02-2022 07:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-08-2022 11:51 AM