Actions5
- Task Runner Actions
Overview
This node interacts with the Ation Service Agent API to get the status of a specific task within a project. It is useful for monitoring the progress or state of tasks managed by the Ation Service Agent, such as checking if a task is running, completed, or failed. Practical examples include automating workflows that depend on task completion or integrating task status checks into larger automation pipelines.
Use Case Examples
- Check the status of a data processing task in a project before triggering the next step in a workflow.
- Monitor the progress of a deployment task and send notifications based on its status.
Properties
| Name | Meaning |
|---|---|
| Project Name or ID | Specifies the project to use when running the task. Can be selected from a list or specified by ID using an expression. |
| Task ID | The ID of the task to operate on, specified directly or via an expression. |
| Request Options | Additional options for the request such as batching, SSL certificate validation, proxy settings, and timeout configuration. |
Output
JSON
status- The current status of the specified task.taskId- The ID of the task for which the status was retrieved.projectId- The ID of the project containing the task.
Dependencies
- Ation Service Agent API with credentials including a URL and authentication token
Troubleshooting
- Missing or incorrect API credentials will cause authentication errors. Ensure the API URL and credentials are correctly configured.
- If the project ID or task ID is invalid or not found, the node will fail to retrieve the task status. Verify the IDs are correct and exist in the Ation Service Agent.
- Network issues or proxy misconfiguration can cause request failures. Check proxy settings and network connectivity.
- SSL certificate validation errors can occur if the server uses a self-signed or invalid certificate. Use the 'Ignore SSL Issues' option cautiously to bypass this.
Links
- n8n Expressions Documentation - Documentation on how to use expressions to specify dynamic values for properties like Project ID and Task ID.