# GetClaimTasks - Advanced Documentation ## Overview Returns every task on a claim, completed and open, with each task's status, owner, dates, comments and digest reminders. `GetClaim` and `GetClaimForIntake` no longer include tasks. ## Notes - Tasks created from an expected event carry `CreatedFromTaskBundleTaskID`. - Comments are newest first. - The result can be empty. - Enforces private claim security access and that the claim belongs to the current firm. ## Script Example ```javascript async () => { const tasks = await SecureApi.GetClaimTasks(771360); return tasks.map(t => ({ id: t.ID, name: t.Name, owner: t.Owner?.Name, due: t.DateDue, completed: t.Completed })); } ``` ## Cross-References | Need | Use Instead | |------|-------------| | Claim fields, staff, ad hoc fields | `GetClaim(ClaimID)` | | Claim notes | `GetClaimNotes(ClaimID)` | | Create or update a task | `SaveTask(Task)` |