Actions5
- Task Runner Actions
Overview
This node interacts with the Ation Service Agent API to manage tasks within projects. Specifically, the 'Stop a Task (Force)' operation forcibly stops a running task identified by its Task ID within a specified project. This is useful in scenarios where a task needs to be immediately halted, such as in error recovery or when a task is no longer needed.
Use Case Examples
- Force stop a task in a project when it is stuck or running longer than expected.
- Use in automation workflows to ensure tasks do not continue running beyond a certain point.
Properties
| Name | Meaning |
|---|---|
| Project Name or ID | Specifies the project within which the task to be stopped is running. This can be selected from a list of projects or specified by ID. |
| Task ID | The unique identifier of the task to forcibly stop. |
| Request Options | Additional options for the HTTP request such as batching, SSL certificate validation, proxy settings, and timeout duration. |
Output
JSON
response- The JSON response from the Ation Service Agent API after attempting to forcibly stop the task.
Dependencies
- Requires an API key credential for the Ation Service Agent API, including the base URL for the API endpoint.
Troubleshooting
- Common issues include missing or incorrect API credentials, resulting in authentication errors.
- Invalid project ID or task ID may cause the API to return errors indicating the task or project was not found.
- Network issues or proxy misconfiguration can cause request failures or timeouts.
- SSL certificate validation errors can occur if the server uses a self-signed or invalid certificate; the 'Ignore SSL Issues' option can be used 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.