Hudu icon

Hudu

Interact with Hudu REST API

Procedure Task → Update

AI-generated

Overview

This node operation updates a specific procedure task in the Hudu system. It is useful for managing and modifying tasks within procedures, such as changing assigned users, updating descriptions, setting due dates, adjusting priorities, and reorganizing task hierarchy. For example, a user can update the due date of a run task or change the priority of a task to urgent to reflect its importance.

Use Case Examples

  1. Updating the assigned users of a run task to ensure the right team members are responsible.
  2. Changing the description of a process task to provide more detailed instructions.
  3. Setting a due date for a run task to track deadlines.
  4. Reordering tasks by changing their position within a process.

Properties

Name Meaning
Task ID The ID of the procedure task to update, used to identify which task to modify.
Procedure Task Update Fields A collection of fields that can be updated on the procedure task, including assigned users, description, due date, name, optional status, parent task ID, position, priority, and procedure ID.

Output

JSON

  • id - The unique identifier of the updated procedure task.
  • name - The name of the updated procedure task.
  • description - The detailed description of the updated procedure task.
  • due_date - The due date of the updated procedure task.
  • assigned_users - List of users assigned to the updated task.
  • priority - The priority level of the updated task.
  • parent_task_id - The ID of the parent task if the updated task is a subtask.
  • position - The position of the updated task within the procedure.
  • optional - Indicates if the task is optional.
  • procedure_id - The ID of the procedure to which the task belongs.

Dependencies

  • Hudu REST API
  • API key credential for authentication

Troubleshooting

  • Ensure the Task ID provided exists and is correct; otherwise, the update will fail.
  • Verify that the fields being updated are valid for the type of task (process task vs run task) as some fields are rejected depending on the task type.
  • Check API authentication credentials to avoid authorization errors.
  • If the node throws an error about unknown resource, confirm that the resource parameter is set to 'procedure_tasks'.
  • Use the 'continue on fail' option to handle errors gracefully during batch updates.

Links

Discussion