Related to task table
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2025 11:14 PM - edited 03-15-2025 11:15 PM
Hi All,
In the task table , records with the task type "pm_project_task" (project task)should have a state of "In progress", while records with other task types can be in any state.
Can you help me how write query
var otherTaskIds = []; //Get Hard Allocated Tasks
function getHardAllocatedTasks() {
var tasks = new GlideRecordSecure('task');
tasks.addQuery('sys_id', 'IN', otherTaskIds.join(','));
tasks.query();
_addRecordsToList(tasks, false);
}
I want to modify above scenario in code
Regards,
Anish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2025 04:29 AM
Why are you running a script against TASK directly?
That sounds super dangerous.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2025 04:53 AM
In time sheet portal , Task tab needs to data populate on above scenario's