Questionnaires is not working in "CSM/FSM Configurable Workspace"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello,
I am dealing with the "Questionnaires" OOTB button.
the button works perfectly in the UI View.
But not working in the workspace.
The button should open the window that shows me the relevant Questionnaires for the current work order task, this is a example from the UI Classic view:
WORKSPACE:
And when i click the button in the workspace view, nothing happend.
Can someone bring me a code, or a solution for this issue?
Thank you,
Itay.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago - last edited 3 weeks ago
EDIT:
When i checkbox the Client option in the UI ACTION it WORKS!
but then it does not work in the UI BACKEND..
In addition when i complete the Questionnaire in the WORKSPACE its redirect me to the record in the UI View infront back to the record in the WORKSPACE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
make the UI action as Client, add function name in Onclick function update the script as this
function showMyQuestionnaires() {
var url = '/fsm_questionnaire_list.do?sysparm_show=' + g_form.getUniqueValue() + '&sysparm_tablename=' + 'wm_task';
window.open(url);
}
Yes in workspace when you click it will take to native view as you cannot open list directly from workspace client script.
you can think of using g_modal API which works in workspace client script but it will be too much customization
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Nothing happened..
I did a new UI Action just for the workspace.
I deleted the Regular Script and works only with the Workspace Client Script