The instructions on this page were different in the following release(s):
3.823.803.76

scheduled tasks

| Scheduled TasksHeader 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.

  1. Gather all SEND data for a child from the API.
  2. 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  
  3. 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    
    1. If an end-date is present, it is not classed as “historical”
    2. If an end-date is not present, it is classed as “historical”
  4. 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.