SC_Tasks only appear to our users within the time portal once a time card is created from the form view

LJ3
Kilo Expert

SC_Tasks only appear to our users within the time portal once a time card is created from the form view - they don't appear under searchable tasks even when assigned to them. They also aren't appearing under Group Tasks when assigned to the user's group.

Incidents, Change_Requests and Project Tasks appear fine. Change_Tasks don't appear. How can I include these in the Time Portal View?

1 ACCEPTED SOLUTION

Barbara L - Gli
Tera Guru

Hi,

The Time Sheet Portal is a Service Portal, so you can edit what tasks appear there through the widget "Time Card Portal Main Container"

On line 33 of the "Server script", an array of tables is defined. Add your desired tables to this array and they should show up in the time sheet portal.

You can find the widget here:

YOUR_INSTANCE_NAME.service-now.com/sp_widget.do?sys_id=c85a8ce093532200ea933007f67ffbb1&sysparm_view=&sysparm_domain=null&sysparm_domain_scope=null

find_real_file.png

find_real_file.png

Hope this helps!

View solution in original post

6 REPLIES 6

Barbara L - Gli
Tera Guru

Hi,

The Time Sheet Portal is a Service Portal, so you can edit what tasks appear there through the widget "Time Card Portal Main Container"

On line 33 of the "Server script", an array of tables is defined. Add your desired tables to this array and they should show up in the time sheet portal.

You can find the widget here:

YOUR_INSTANCE_NAME.service-now.com/sp_widget.do?sys_id=c85a8ce093532200ea933007f67ffbb1&sysparm_view=&sysparm_domain=null&sysparm_domain_scope=null

find_real_file.png

find_real_file.png

Hope this helps!

Thank you @Barbara L - CloudPires! This solved my issue perfectly!

Thank you @Barbara L - CloudPires! This solved my issue perfectly!

In latest release, we have 'Time Card Portal Main Container' and 'Time Card Portal - Task Selector' widgets.

Server script of the widget 'Time Card Portal Main Container' is as follows:

Anusha_Rao_0-1668473899048.png

In the server script of 'Time Card Portal - Task Selector' widget, I added the sc-task and task tables to default tables. 

Anusha_Rao_1-1668474056357.png

 

But in the time sheet portal- SCTASK is not displayed under All tasks/Group Tasks. Please help me with this - as I want the user to be able to submit the time card against SCTASK as well.