The CreatorCon Call for Content is officially open! Get started here.

How to filter the approvals list in My Todos page in EC Pro Portal

Janu sree
Tera Guru

When the user clicks on the Approval configuration in My Active Items Widget, Is there a way that it should redirect to My Todos page/My Tasks and filter the Approval records

I was bit confused on how to implement this, As we don't have an option to filter the approvals in MyTodos page. Any Insights on this would be helpful ?

Janusree_0-1697644148739.png

 

TIA.

 

4 REPLIES 4

Nishant12
ServiceNow Employee
ServiceNow Employee

@Janu sree , You can use the todo filters feature that's available in employee center 

Nishant12_0-1697712705215.png

You can activate the filter thats available OOTB called "Approvals "

Nishant12_1-1697712917230.png

Once the filter is activated it shows in the TO-DO's page of Employee center as below 

Nishant12_2-1697713059994.png

If you want a filter to be pre-applied  you can add filters query parameter to the todos url as shown below 

https://<instance-name>.service-now.com/esc?id=hrm_todos_page&filters=da5e27b819259110f877eae01ea847...

You can apply multiple filters by passing comma separated sys_id's to filters parameter . 

 

So your activity configuration should have this query parameter added so that when user clicks on approvals the URL will have filters and approvals will be filtered from the total task list . 

 

thanks,
Nishant K

 

Hi @Nishant12 - Approvals in Todo's is already activated but I cannot see the filters in Tasks page.

but is there any way to direct the user from approvals button in My Items widget to Approvals in My Tasks page?

And the link you pasted is not accurate. can you give it again ? Thanks

Nishant12
ServiceNow Employee
ServiceNow Employee

Hi @Janu sree , 

 

Please check if the category associated to the filter is active.  

Nishant12_0-1697717535100.png

 

https://<instance_url>/esc?id=hrm_todos_page&filters=da5e27b819259110f877eae01ea84726

Please replace <instance_url> with your instance base url . 

Navigating user from approvals button in my items widget to My Tasks is configuration in Activity Configuration . 

 

Hi @Nishant12 - Got it, I'm working on my PDI. 
How to apply the filter parameter you are mentioning about? I've to show all the Knowledge appr, change app, RITM app, and HR .
Is it here ? if yes how make the standard URL then how to make it flexible for all the instances.


TIA,