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.

Hide Price and Total Price from Approval Summarizer if the value is \$0.00

neetika
Tera Contributor

Hi All,

I want to hide the Price and Total price column in Approval SUmmarizer section of Approval form only for a specific Catalog Item.

We are displaying the Total price on the form itself and not on the Cart. So, $0.00 price here in Approval form will confuse the Approver.

See in below screenshot:

find_real_file.png

Please let me know your ideas how can I implement it,

Thanks in advance!

3 REPLIES 3

shloke04
Kilo Patron

Hi,



There is an OOB "approval_summarizer_sc_req_item" which is responsible for controlling this display. Kindly have a look there and modify as per your requirement.



Cheers,


Shloke


Hope this helps. Please mark the answer as correct/helpful based on impact.

Regards,
Shloke

neetika
Tera Contributor

Hi Shloke,



I checked that. If I want to add a condition based on Description and price , and then hide the Price. How can I tweak the code?



e.g. If Description is "abc" and Price is "$0.00", hide 'Price' and 'Total'.



I am not proficient in Jelly Scripting, can you please help a bit. It will be very helpful..


TT3
Kilo Guru

Were you able to achieve this? Can you please let me know how to edit approval_summarizer_sc_req_item?