AdHub App icon

AdHub App

Manage AdHub leads, activities, sources, statuses, tags, and custom fields

Task → Complete

AI-generated

Summary

Complete a task identified by its Task ID, optionally using an 'Updated At' timestamp for optimistic locking to avoid conflicts due to concurrent updates.

Inputs

  • Task ID (required) — The unique identifier of the task to complete.
  • Updated At — An optional ISO 8601 timestamp representing the task's last update time for optimistic locking; legacy numeric timestamps are ignored.

Output shape

a single updated task record confirming completion

If provided, the 'Updated At' timestamp enforces optimistic locking, ensuring the task is completed only if it has not been modified since that time. The operation returns the updated task details reflecting its completed status.

Links

Discussion