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.

How to hide Price Quantity and Total from My Task Page

saint
Tera Expert

Hi Experts 

 

I see these price quantity and total when I navigate to My Tasks page using Employee Center to see my approvals. How do i hide this?

saint_1-1761148724263.png

 

 

9 REPLIES 9

Kieran Anson
Kilo Patron

Hi,

You'll need to edit the fields displayed via the to-do configuration details record

  1. From the application navigator search for 'to-dos configuration'
  2. Select 'Approvals'
  3. From the 'to-do configuration details' related list, select the sc_request approval record
  4. Edit the field mapping to remove the price

Wow Kieran, I never knew about this table and this configuration, thanks for teaching me something new today!

 

Before I accept this solution, could you help me out with one little thing. I cannot seem to get rid of this fields, there is no option to clear it with a click or similar to other records in servicenow. Am I missing something here? 🤔

saint_0-1761150491846.png

 

Oh, that's interesting. Never noticed that behaviour. If you have SN Utils installed, you can double click the field label and remove the value.

 

Otherwise, you can edit via a background script

var gr = new GlideRecord('sn_ex_sp_todo_config_detail');
gr.get('c0b6bb5cc31930105a09f0ad9840dd45');
gr.setValue('field_1' , '');
gr.update();

Hey Kieran,

 

So while running this background script I got an cross scope error 

 

Security restricted: Write operation against 'sn_ex_sp_todo_config_detail' from scope 'rhino.global' has been refused due to the table's cross-scope access policy

 

I updated the sn_hr_sp_todos_config table's application access

- Can create

- Can update 

and flushed cache, based on other communiy posts. I'm still getting the same error. do you know any way to fix this?

 

Also, I do have SN Utils intsalled but there's no option to remove the value