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.

Custom Task Table Not Showing in Time Sheet Portal Even Though It Extends Task

LeanderS
Tera Contributor

 

Hi Everyone,
I'm building a custom Timesheet Management solution in ServiceNow and I need help with aligning my custom tables with the Time Sheet Portal so that tasks appear for users to log hours.

Business Requirement

I need to create a custom time-entry system where:

  1. Managers create Tasks for employees (ex: Development, Testing, Meeting, Documentation).

  2. Employees should see these tasks inside the Time Sheet Portal → Tasks tab.

  3. Employees should log hours against those tasks.

  4. Logged hours should appear inside their My Time Sheet view.

  5. Managers should then approve/reject submitted timecards.

📌 Tables Created (Custom)

I created the following 3 tables:

1. u_time_sheet_task_ext

  • Extended from: Task [task]

  • Fields include:

    • u_task_name

    • u_quadrant (Q1–Q4)

    • u_priority (P1–P4)

    • u_client

    • u_department

    • u_description

    • Assigned to / Assignment Group (inherited)

  • Purpose: Store tasks that employees will perform and log time against.


2. u_time_sheet

  • Stores weekly time entries

  • Fields include:

    • u_assigned_to

    • u_task (reference to u_time_sheet_task_ext)


3. u_client

  • Stores list of clients

  • Fields: u_name, u_spoc


The Problem

Even though my u_time_sheet_task_ext table is extended from the Task table, the tasks created in this table do NOT appear inside:

  • Time Sheet Portal → Tasks

  • My Time Sheet → Add unassigned tasks to time sheet

Tasks appear only when created in OOB tables like:
▪ Project Task
▪ Incident
▪ Change Task
▪ sc_task

But NOT from my custom table, even though it extends Task.


What I have Tried

✔ Extended the table from Task
✔ Added assigned_to field
✔ Enabled active = true
✔ Created sample tasks for a user
✔ Checked if data appears in TimeSheet Portal under Task (it does not)

LeanderS_0-1764574316167.png

 


My Question

What additional configuration is required so that my custom task table (extended from Task) will be recognized by the Time Sheet Portal and displayed under the user's Tasks list?

Specifically:

  1. Do I need to populate work_time_task or tsc_task_suggestions manually?

  2. Do I need a dictionary override or specific field names to match Time Card logic?

  3. Is there a property or configuration where I must register my custom table for time entry eligibility?

  4. How does the Time Sheet Portal determine which task tables are "eligible" to show?

  5. Is there a script include (like TimeCardAjax / TSCUtil) that I must modify or extend?


Goal

When a manager creates a task in u_time_sheet_task_ext,
the assigned employee should automatically see it in the Time Sheet Portal so they can record hours.

 

0 REPLIES 0