How to configure the UI ACTION "Close Incomplete" to FSM WORKSPACE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
15 hours ago
I have these 2 records, I assigned them to WORKSPACE using Workspace Form Button and Format for Configurable Workspace
I typed the following code in both:
g_form.submit('close_incomplete');
The button appears in FSM WORKSPACE but does nothing, (it should raise POP UP like in BACK END and then move the STATE to CLOSE INCOMPLETE
Please help me to make it work like in the back-end.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
6 hours ago
Hi @ItayB ,
I tried your problem in my PDI and you can use serviceNow API called - "g_modal" this will help you to show pop up in workspace.
Can you please try below code
g_modal.showFields({
title: dlgTitle,
fields: fields,
size: 'md'
}).then(function(fieldValues){}
For reference you can also check offical documentation from serviceNow - Link
Please mark my answer correct and helpful if this works for you
Thanks and Regards,
Sarthak
