How to make a UI Action button visible on workspace as well.

Hrishabh Kumar
Tera Guru

I have created a UI Action, for problem_task table. It's working perfectly on native form view, but if I open a problem task in Service operations workspace the button is not visible.

How to fix this? I want the button to be visible on Workspace form view as well

 

Here is the screenshot of the UI Action I created:

image (3).png

 

Here is the view of the SOW, where I'm not able to see the button "Copy fix notes"

image (4).png

 

 

8 REPLIES 8

Sarthak Kashyap
Mega Sage

Hi @Hrishabh Kumar ,

 
 

I tried your problem in my PDI and it works for me, please check below steps 

 

Step 1: Create an UI Action

 

SarthakKashyap_3-1775067075158.png

 

SarthakKashyap_5-1775067127228.png

 

Step 2: Now navigate to table sys_ux_form_action and create a new record 

SarthakKashyap_7-1775067248463.png

Step 3: Now navigate to table sys_ux_form_action_layout_item, and in action give the name of above step 2

SarthakKashyap_6-1775067185984.png

 

Now same the record and check on workspace 

SarthakKashyap_8-1775067330341.png

 

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak

 

Hi @Sarthak Kashyap  In your example, you have checked the client checkbox; I've not done that. Will this work the same for me as well?

I want to keep my ui action sa server side.

Hi @Hrishabh Kumar ,

 

Yes it will work, I created a new UI Action Not Client callable(Server Callable), and added to UI action field in sys_ux_form_action table

 

SarthakKashyap_2-1775068209676.png

 

SarthakKashyap_3-1775068233120.png

 

SarthakKashyap_0-1775068159399.png

 

Result 

I got the log when I clicked the UI Action

SarthakKashyap_4-1775068267785.png

Please mark my answer correct and helpful if this works for you

Thanks and Regards,

Sarthak

 

Tanushree Maiti
Kilo Patron

Hi @Hrishabh Kumar 

 

Follow these steps:

 

  1. Update all SOW and UIB Plugins to latest versions
  2. Check for any SOW script Includes that have been customised in sys_script_include or sys_ux_client_script_include table. Revert them to OOB to see if that resolves the issue. 
  3. Check for the linked UI action entry in sys_ux_form_action table. The record should be linked to the correct UI action in the "UI Action" field. Create the entry if not present. 
  4. Check for the linked UI action entry in sys_ux_form_action_layout_item table. The "Action" should be linked to the previous sys_ux_form_action table entry. Create the entry if not present. 
  5. Check if there is sys_ux_m2m_action_layout_item entry linked to the sys_ux_form_action_layout_item record in the "UX Form Action Layouts" related list under the sys_ux_form_action_layout_item record. Create a new entry if not present with the name same as the UI action name. 

 

Refer: KB1756084 UI Action not visible on Service Operations Workspace 

 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: