Start a Process from a Procedure
hudu_kickoff_procedureStart a new process from a procedure to create a live checklist for a company. Attach to an asset when work concerns a specific employee or device.
Instructions
Start a new process from an existing procedure. Hudu copies the procedure's task list into a new process record with its own id, slug and URL, and returns that new record. Afterwards the company has a live checklist that its users can work through and tick off; the procedure it came from is unchanged and can be kicked off again.
Attach the new process to an asset with asset_id when the work concerns one specific device or person — that is how an onboarding checklist ends up on the employee record it belongs to. Give it a name when several runs of the same procedure would otherwise be indistinguishable, e.g. "Onboarding — J. Okafor".
Find the procedure id with hudu_list_procedures. Both optional inputs are sent as query parameters because that is what Hudu documents for this endpoint; it accepts no request body. Success answers 200 rather than the 201 you might expect from a create, and 404 covers both a missing procedure and an unrouted path.
Operation class: Create. Impact: Creates a live process in Hudu, visible to the users of the company that owns the procedure and appearing in their process list as outstanding work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric Hudu id of the procedure to start a process from. | |
| name | No | Name for the new process. Omit to inherit the procedure's own name, which makes repeated runs hard to tell apart. | |
| asset_id | No | Numeric id of an asset to attach the new process to, such as the employee or server the work is about. Omit to leave the process unattached. |