The instructions on this page were different in the following release(s):
3.82 | 3.80 | 3.76
scheduled tasks
| Scheduled Tasks | Header Section | Scheduled Tasks tab | Task Log tab | Add a new scheduled task | Historic SEND |
How does the historic SEND flag work?
When a scheduled task is configured to exclude historic SEND data, the following steps are taken to determine whether a status is “historical”. The same approach is taken for both Needs and Statuses.
- Gather all SEND data for a child from the API.
- Sort the data from the latest to the oldest based on the start date (where present).
For example:Start date End date 01/09/2024 01/01/2024 31/08/2024 01/09/2020 - Check whether the next record has an end-date.
The first time through this cycle, this is the second record.
For example:Start date End date Historical? 01/09/2024 01/01/2024 31/08/2024 No 01/09/2020 - If an end-date is present, it is not classed as “historical”
- If an end-date is not present, it is classed as “historical”
- Repeat step 3 for each subsequent record.
Start date End date Historical? 01/09/2024 01/01/2024 31/08/2024 No 01/09/2020 Yes
The steps described as all performed before the data is added to the XML.