Hudu icon

Hudu

Interact with Hudu REST API

Procedure Task → Create

AI-generated

Overview

This node operation creates a new Procedure Task within the Hudu system. It is useful for automating the addition of tasks to procedures, which helps in managing and tracking procedural workflows. For example, it can be used to add a new task to a maintenance procedure or a project checklist automatically.

Use Case Examples

  1. Creating a new task named 'Inspect Equipment' under a specific procedure ID to ensure maintenance steps are followed.
  2. Adding optional subtasks to a procedure to allow flexibility in task completion.

Properties

Name Meaning
Name The name of the task to be created, which identifies the task within the procedure.
Procedure ID The ID of the procedure to which this task belongs, linking the task to its parent procedure.
Additional Fields Optional fields to provide more details about the task, such as description, whether the task is optional, parent task ID for subtasks, and the position of the task in the process.

Output

JSON

  • id - The unique identifier of the created procedure task.
  • name - The name of the created task.
  • procedure_id - The ID of the procedure this task belongs to.
  • description - The detailed description of the task, if provided.
  • optional - Boolean indicating if the task is optional.
  • parent_task_id - The ID of the parent task if this is a subtask.
  • position - The position of the task within the procedure's task list.

Dependencies

  • Requires an API key credential for authenticating with the Hudu REST API.

Troubleshooting

  • Common issues include providing an invalid or missing procedure ID, which will cause the API to reject the creation request.
  • If the parent task ID is set incorrectly (e.g., referencing a non-existent task or trying to assign subtasks to a subtask), the operation may fail.
  • Ensure required fields like 'Name' and 'Procedure ID' are provided; missing these will cause validation errors.

Links

Discussion