Tyme icon

Tyme

Track time, manage projects and tasks in Tyme

Actions26

Timed Sub-Task → Update

AI-generated

Summary

Updates an existing Tyme timed sub-task by ID, sending only the fields you add under Update Fields via a POST to Tyme's update_entity endpoint, and returns the API's response.

Inputs

  • Timed Sub-Task ID (required) — ID of the timed sub-task to update. Sent as id in the request body.
  • Update Fields — Collection of optional fields to change. Only the fields you add are sent. Available fields: Name, Timed Task ID (related_id, the parent task), Start Date, Due Date, Completed Date, Hourly Rate, Planned Duration (Seconds).

Output shape

One JSON item per input item, containing the response returned by Tyme's /data/update_entity endpoint (the updated entity).

The exact response fields are not defined in the node code; they come straight from the API. Date fields (start, due, completed) are converted to YYYY-MM-DD HH:mm:ss in UTC before sending. With Continue On Fail enabled, a failed item returns { error: message } instead of stopping the workflow.

Examples

Example 1: Mark a sub-task as completed

Set Timed Sub-Task ID to the sub-task's ID, then add Update Fields > Completed Date with the completion timestamp (for example {{$now}}).

Example 2: Rename a sub-task and change its planned effort

Set the Timed Sub-Task ID, then add Update Fields > Name and Planned Duration (Seconds) = 7200.

Example 3: Move a sub-task to a different parent task

Set the Timed Sub-Task ID, then add Update Fields > Timed Task ID with the new parent task's ID.

Links

Discussion