Overview
This node integrates with Dida365, a task management application, to manage tasks and projects programmatically. Specifically, the "Task Delete" operation allows users to delete a task within a specified project by providing the project and task identifiers.
Common scenarios where this node is beneficial include:
- Automating cleanup of completed or obsolete tasks.
- Integrating task deletion into larger workflows, such as removing tasks after certain conditions are met.
- Synchronizing task deletions from other systems into Dida365.
For example, a user might set up a workflow that deletes tasks marked as done in another system by passing their IDs to this node, ensuring the Dida365 task list stays current.
Properties
| Name | Meaning |
|---|---|
| Project Name or ID | Select the project from which the task will be deleted. You can choose from a list of available projects or specify a project ID using an expression. |
| Task Name or ID | Select the specific task to delete within the chosen project. This is required and can be selected from a list or specified via an expression. |
Output
The node outputs a JSON array containing the response from the Dida365 API after attempting to delete the task. The exact structure depends on the API's response but typically confirms successful deletion or provides error details.
No binary data output is produced by this operation.
Dependencies
- Requires an active connection to Dida365 via OAuth2 authentication (an API key credential).
- The node uses internal helper functions to load available projects and tasks dynamically for selection.
- Proper configuration of the OAuth2 credentials in n8n is necessary for API access.
Troubleshooting
Common issues:
- Providing an invalid or non-existent project or task ID will cause the API request to fail.
- Missing required parameters (especially the task ID) will result in errors.
- Network or authentication failures may prevent the node from communicating with Dida365.
Error messages:
"The operation "delete" is not known!"— indicates an unsupported operation was requested; ensure "Delete" is selected."The resource "task" is not known!"— indicates an unsupported resource; ensure "Task" is selected.- Errors related to missing parameters usually mention which parameter is required.
- JSON parsing errors occur if input JSON fields are malformed (not applicable here since deletion uses simple parameters).
To resolve errors:
- Verify that the project and task IDs exist and are correctly specified.
- Ensure OAuth2 credentials are valid and have sufficient permissions.
- Check network connectivity and API availability.
Links and References
- Dida365 Official Website
- n8n Expressions Documentation
- Dida365 API Documentation (if publicly available)