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.

Add custom button in My Tasks page ServiceNow portal

ShivangiC
Tera Contributor

Hello,

Implementing reimbursement management. I have 2 tables Expense Request and Line of Items both are child table of Task. Employee must be able to enter single or multiple line items under single request number.

When a request is created, for Manager the submitted requests comes under My Tasks for Manager to Approve or Reject. But apart from Approve and Reject we also need a 3rd button 'Return for Review', so that incase of incorrect information the submitted request is sent back to the requestor for him/her to edit it and resend back.

How can I achieve this requirement ? Please details the steps/scripts. It must work in both portal as well as Mobile apps

6 REPLIES 6

Anil Nemmikanti
Tera Guru
Tera Guru

Hi @ShivangiC ,

We can add the button but that would be a widget level customization,  and we need to add a new state for the review. And for mobile it is a separate customization.

Yes, can you help in widget customization, where to add this New State and its script?

Hi @ShivangiC ,

please share the widget name which you are using so that I can suggest the changes? 

id=hrm_todos_page, name= My Tasks