Invalid tasks displaying as options in worker portal (tcp)
Modified (Time Card Portal - Task Selector) widget
The (Time Card Portal - Task Selector) widget below is responsible for displaying tasks via the TCP:
//Get Unassigned Tasks for which timecard has been logged
var unassignedTaskIds = ;
var timecards = new GlideAggregate('time_card');
timecards.addQuery('task', 'NOT IN', data.ids);
The logic implemented above is querying for unassigned tasks for which timecard has been logged.
Please verify that the (Task Selector) widget above has been updated to the latest version available.