Service Operations Workspace

Gaurav99
Tera Contributor

GlideURL is not working in Service Operations Workspace 

1 ACCEPTED SOLUTION

@Gaurav99 

you want to open workflow context in workspace?

something like this should work fine

function onClick(g_form) {
    var url = '/context_workflow.do?sysparm_stack=no&sysparm_table=sc_req_item&sysparm_document=' + g_form.getUniqueValue() + '&sysparm_use_polaris=false';
    open(url);
}

Ensure both the checkboxes are true so that UI action starts appearing in workspace

AnkurBawiskar_0-1741243370411.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

3 REPLIES 3

Ankur Bawiskar
Tera Patron
Tera Patron

@Gaurav99 

what's your business requirement and what's the script you are using?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Gaurav99
Tera Contributor

we want to configure a button workspace on change form to show workflow. But the Glide URL API to open to specific workflow is not working

@Gaurav99 

you want to open workflow context in workspace?

something like this should work fine

function onClick(g_form) {
    var url = '/context_workflow.do?sysparm_stack=no&sysparm_table=sc_req_item&sysparm_document=' + g_form.getUniqueValue() + '&sysparm_use_polaris=false';
    open(url);
}

Ensure both the checkboxes are true so that UI action starts appearing in workspace

AnkurBawiskar_0-1741243370411.png

 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader