Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Why UI Action is not working in Service Operation Workspace

Alon Grod
Tera Expert

Hi,


I have this UI Action and its working fine in the backend when I go to incident.list. However, whenever I go to Service Operation Workspace and I click on the button nothing happened.
What could be the reason that its working in the backend but the same script does not work in SOW?

WhatsApp Image 2023-07-02 at 12.48.53.jpeg

6 REPLIES 6

Ravi Chandra_K
Kilo Patron
Kilo Patron

Hi @Alon Grod 

Greetings!

The following doc/ thread might be helpful to you:

https://www.servicenow.com/community/developer-forum/why-glidemodal-is-not-able-to-open-a-ui-page-i-...

https://www.servicenow.com/community/developer-forum/using-ui-action-with-glidemodal/m-p/2348354/pag...

https://developer.servicenow.com/dev.do#!/reference/api/utah/client/c_GlideModalClientSideV3API#r_GM...

also check the UI page in Glidemodal to troubleshoot more.

If my answer helped you in any way, please mark this answer as helpful and correct!!

Regards,

Ravi Chandra.

@Ravi Chandra_K  hi its not. Can you please be more specific?

Hello @Alon Grod 

I have provided product docs for Glidemodal which contains the sample syntax.

I couldn't find the correct Glodemodal script examples. I think there might be issue with the script but I'm not very sure.

 

Kind Regards,

Ravi Chandra.

ShubhamGarg
Kilo Sage

Hello @Alon Grod ,

Is your issue solved?

Search "UX form actions" in Application navigator and create a entry for your ui action.

Follow this path - Application navigator > Now Experience Framework > Actions and Events > UX Form Actions.

Create new record and map your UI action for Service Operation workspace.

Step1 :

SOW1.png

Step 2 :

ShubhamGarg3_0-1688574289440.png

 

Mark this answer as correct if this resolves your issue.

 

Thanks,

Shubham