Actions26
- Absence Actions
- Project Actions
- Project Category Actions
- Summary Actions
- Team Member Actions
- Time Actions
- Time Entry Actions
- Timed Sub-Task Actions
- Timed Task Actions
Absence → Update
AI-generatedSummary
Updates an existing Tyme absence (a NonWorkingRecord) by ID, sending its type, user, start/end times and note to Tyme's update_entity endpoint.
Inputs
- Absence ID (required) — ID of the absence to update.
- Type (required) — Absence subtype: Vacation (0), Sick (1), Other (2), Public Holiday (3), Overtime Compensation (4) or Special Leave (5).
- User ID — ID of the user the absence belongs to. Always sent in the request; an empty string is sent if left blank.
- Start Time (required) — Start date/time, converted to Tyme's 'YYYY-MM-DD HH:mm:ss' format (UTC).
- End Time (required) — End date/time, converted to the same format as Start Time.
- Note (required) — Free-text note for the absence.
Output shape
One item per input item, containing the JSON response from Tyme's update_entity call (the updated absence record).
This is a full replace-style update: every field is sent each time, with no optional Update Fields collection. Blank User ID is still sent. With Continue On Fail enabled, failed items return { error: message }. Items are paired to their input item.
Examples
Example 1: Change a vacation absence into sick leave and extend it by a day.
Absence ID = existing ID, Type = Sick, Start Time and End Time set to the new range, Note = 'Flu'.
Example 2: Correct dates on absences coming from an upstream HR node.
Absence ID, Start Time and End Time set via expressions from the previous node's fields, Type = Vacation, Note = expression.