Interested in a ServiceNow event built for developers? Registration for now[dev]26 is officially open!

SCTASK Approvals Not Appearing in My Tasks Open Tab in Portal

zee15
Tera Contributor

Hi,

I am working on a requirement where approvals need to be displayed in the My Tasks widget under the Open tab.

zee15_0-1789021485727.png

 

Currently, the Open tab is displaying approvals generated at the RITM level. However, in our scenario, approvals are being created at the SCTASK level because we use parallel processing. As a result, when an approval is generated on an SCTASK, it does not appear in the My Tasks widget.

Could someone please help me understand how this can be achieved? Specifically, I would like to know:

  • Which component or logic is responsible for fetching approvals for the My Tasks widget?
  • What changes are required to include SCTASK-level approvals?

Any guidance or suggestions would be greatly appreciated.

Thanks in advance!

1 REPLY 1

Bhavya11
Mega Patron

Hi @zee15 

 

  • Which component or logic is responsible for fetching approvals for the My Tasks widget?
     For My Tasks configuration, you can check To-dos configurations.a related a can be added to query the approval[sysapproval_approver] table and filter approval where target record is SCTASK[sc_task]Bhavya11_0-1789023451690.png

     

  • What changes are required to include SCTASK-level approvals?
    in To-dos configurations -Create or Update the related configuration to query the approval table and restrict the result associated with the records from sc_task tableBhavya11_1-1789023701782.png

     


Regards
BK
LinkedIn: https://www.linkedin.com/in/bhavyashree-karanth-55032a121
YouTube: https://www.youtube.com/@NowWithBhavya