In time sheet portal , Task tab only can see InProgress records

Anish9515
Tera Contributor

In time sheet portal , task tab i can see only in progress records 
This is OOB function , Please help me which widget can rework.

 

Anish9515_0-1735538320494.png

 

@Ankur Bawiskar

22 REPLIES 22

Ankur Bawiskar
Tera Patron

@Anish9515 

Did you check by widget -> Time Card Portal Main Container

If my response helped please mark it correct and close the thread so that it benefits future readers.

Bhavya11
Mega Patron

Hi @Anish9515 ,

 

Please cross verify Time Card Portal - Task Selector widget.

 

 

Thanks,

BK

Ravi Gaurav
Giga Sage

Hi @Anish9515 

 

Please check  Time Card Portal - Task Selector widget.

 

Service Portal Widget  -> Time Card Portal - Task Selector

 

In server script,

2. Search for defaultTables -> it has all the table listed which shows in dropdown. if you want to only show project task then remove other table names and keep only 'pm_project_task'.

3. Search for function getRecords(table) ->

it has if (gr.instanceOf('pm_project') || gr.instanceOf('pm_project_task')) { block

in this if block you can see the encoded query formation for encodedQuery.

You can add 'state=2' to encodedQuery to show only WIP project tasks.

I have added encoded query , Still it doesn't work , Can you check on highlighted on below screenshots

Anish9515_0-1735547528153.png