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 allows reverting a task in the HumHub platform to a previous state. It is useful in scenarios where a task's changes need to be undone or rolled back, such as correcting mistakes or restoring a task to an earlier version. For example, if a task was updated incorrectly, this operation can revert it to its prior state by specifying the task ID and optionally a title for the revert action.
Use Case Examples
- Revert a task with a specific ID to its previous state.
- Use the revert operation to undo recent changes made to a task.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication to use for the API request (Basic Auth or JWT Token). |
| ID | The ID of the task to revert. |
Output
JSON
id- The ID of the reverted task.title- The title of the task after revert.status- The status of the task after revert.otherProperties- Other properties returned by the HumHub API for the reverted task.
Dependencies
- Requires HumHub API credentials for authentication (either Basic Auth or JWT Token).
Troubleshooting
- Ensure the task ID provided is valid and exists in the HumHub system to avoid errors.
- Authentication errors may occur if the provided credentials are incorrect or expired; verify the API key or token.
- If the revert operation fails, check the API response for specific error messages and ensure the task is in a state that can be reverted.
Links
- HumHub API Documentation - Tasks - Official API documentation for managing tasks in HumHub, including the revert operation.
