Actions126
- User Actions
- Group Actions
- Content Actions
- Post Actions
- Comment Actions
- Like Actions
- Activity Actions
- Notification Actions
- Space Actions
- Calendar Actions
- CFile Directory Actions
- CFile Actions
- CFile Item Management Actions
- Survey Actions
- Task Actions
- Task List Actions
- Wiki Page Actions
- Mail Conversation Actions
- Mail Entry Actions
- Mail Recipient Actions
- Session Actions
- File Actions
- Space Membership Actions
- Topic Actions
- Survey Answer Actions
- Survey Answers Actions
- Wiki Page Revision Actions
- Mail Tag Actions
Overview
This node operation attaches files to a specific task in the HumHub platform. It is useful for automating the process of uploading and associating files with tasks, such as attaching documents, images, or other relevant files to a task for project management or collaboration purposes.
Use Case Examples
- Automatically attach multiple files from previous workflow steps to a task in HumHub.
- Upload and link binary files stored in the workflow to a task to keep all related information centralized.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication to use for the API requests (Basic Auth or JWT Token). |
| ID | The unique identifier of the task to which files will be attached. |
| Files | Collection of files to attach to the task, specified by the binary property names containing the file data. |
Output
JSON
id- The ID of the task to which files were attached.files- Details of the files that were attached to the task.
Dependencies
- Requires authentication credentials for HumHub API (either Basic Auth or JWT Token).
Troubleshooting
- Error 'No binary data exists on item!' occurs if the input item does not contain any binary data. Ensure the input data includes binary files.
Error 'Binary data property "" does not exist!' occurs if the specified binary property name for a file is not found in the input item. Verify the binary property names are correct and exist in the input data. - API request failures may occur due to invalid task ID or insufficient permissions. Verify the task ID is correct and the authentication credentials have appropriate access rights.
Links
- HumHub API Documentation - Official API documentation for HumHub, useful for understanding endpoints and authentication.
