Open an incident on Employee Center Portal

Julian Piovesa1
Tera Contributor

Hello everyone, hope you're doing fine! 

I need to modify or create a widget to open incidents on the Employee Center Portal.
But not every user, just those who have been added to the watch list.

So, in resume, If you have been added to the watch list, you can open (read) that incident on the Employee Center Portal.

Thanks. 

1 ACCEPTED SOLUTION

Dan O Connor
ServiceNow Employee
ServiceNow Employee

Hey @Julian Piovesa1 this shouldn't require any new or customised widget. You can use the My Requests filter to add some conditions. 

Here is a quick example

DanOConnor_1-1687874557379.png

 

So you can amend the filters for the My Requests page, which controls what data is returned to the My Requests widget, and how it is shown. 

 

You should be able to just add the condition for watchlist and include that short bit of code. It is basically saying if the logged in user is part of the watchlist. 

 

As a totally seperate idea, you could use a Simple List widget, and configure it with the same wishlist condition. So you could have a totally seperate widget showing just a collection of Incidents where the user is on the watchlist. 

View solution in original post

5 REPLIES 5

Dan O Connor
ServiceNow Employee
ServiceNow Employee

Hey @Julian Piovesa1 this shouldn't require any new or customised widget. You can use the My Requests filter to add some conditions. 

Here is a quick example

DanOConnor_1-1687874557379.png

 

So you can amend the filters for the My Requests page, which controls what data is returned to the My Requests widget, and how it is shown. 

 

You should be able to just add the condition for watchlist and include that short bit of code. It is basically saying if the logged in user is part of the watchlist. 

 

As a totally seperate idea, you could use a Simple List widget, and configure it with the same wishlist condition. So you could have a totally seperate widget showing just a collection of Incidents where the user is on the watchlist. 

Hi @Dan O Connor  ,

We need to show my incident tab after the my request tab to show only incidents, how can we achieve that do I need to create new menu item that is different because we are usingOOTB employee center could you please help me if you have any idea how to achieve it. 

Dan O Connor
ServiceNow Employee
ServiceNow Employee

@svani I believe this would require customization of the widget. Our current design philosophy on the widget is that we just want to show Open Items for the logged in user, regardless of record type. 

 

So while you can add any record type into the widget, it will all display under 'Submitted Requests'(renamed in Washington I believe) 

Julian Piovesa1
Tera Contributor

Thank you Dan!