PopoOpenPlatform Api icon

PopoOpenPlatform Api

POPO OpenPlatform API

待办任务 → 更新待办任务

AI-generated

Overview

This node interacts with the POPO OpenPlatform API to manage various resources, including the '待办任务' (To-Do Task) resource. Specifically, for the '更新待办任务' (Update To-Do Task) operation, it updates an existing to-do task with new details such as title, remark, assignees, deadline, recurrence rule, priority, and the operator's user ID. This is useful for automating task management workflows, such as updating task details based on external triggers or user inputs.

Use Case Examples

  1. Updating a to-do task's title and deadline when a related project milestone changes.
  2. Automatically assigning a task to different users based on workload or availability.
  3. Adjusting task priority and recurrence rules dynamically based on business rules.

Properties

Name Meaning
Task ID The unique identifier of the to-do task to update. Required to specify which task to modify.
Title The new title of the to-do task. Required to provide the updated task name.
Remark Additional remarks or notes about the to-do task.
Assignees A collection of user IDs assigned to the task. Multiple assignees can be added.
Deadline Deadline details for the task, including timestamp, format, and timezone.
RRule Recurrence rule for the task, following the RRule specification.
Priority Priority level of the task, ranging from no priority to low, medium, high, or urgent.
Operator UID User ID of the operator performing the update action on the task.

Output

JSON

  • taskId - The ID of the updated to-do task.
  • title - The updated title of the to-do task.
  • remark - Updated remarks or notes for the task.
  • assignees - List of user IDs assigned to the task.
  • deadline
    • deadline - Deadline timestamp of the task.
    • format - Format of the deadline.
    • timezone - Timezone of the deadline.
  • rrule - Recurrence rule of the task.
  • priority - Priority level of the task.
  • operatorUid - User ID of the operator who updated the task.

Dependencies

  • An API key credential for POPO OpenPlatform API authentication.

Troubleshooting

  • Ensure the Task ID is provided and valid; missing or incorrect Task ID will cause update failure.
  • Verify that required fields like Title are not empty to avoid validation errors.
  • Check API credentials and permissions to ensure the node can access and modify to-do tasks.
  • If the deadline timestamp or format is incorrect, the API may reject the request; ensure proper timestamp and format values.
  • For assignees, ensure user IDs are valid and exist in the system to prevent assignment errors.

Discussion