Actions5
- Task Runner Actions
Overview
This node interacts with the Ation Service Agent API to manage tasks within projects. Specifically, the 'Stop a Task' operation allows users to stop a running task by specifying the project and task IDs. This is useful in scenarios where a task needs to be halted before completion, such as stopping a long-running process or canceling an erroneous task execution.
Use Case Examples
- Stopping a data processing task in a project when an error is detected.
- Halting a scheduled task that is no longer needed.
Properties
| Name | Meaning |
|---|---|
| Project Name or ID | Specifies the project within which the task is running. This is required to identify the context for the task to be stopped. Users can select from a list of projects or specify an ID directly. |
| Task ID | The unique identifier of the task to be stopped. This is required to specify which task to operate on. |
| Request Options | Additional options for the HTTP request such as batching, SSL certificate validation, proxy settings, and timeout duration. |
Output
JSON
taskId- The ID of the task that was stopped.status- The status of the stop operation, indicating success or failure.message- Additional information or confirmation message about the stop operation.
Dependencies
- Requires an API key credential for the Ation Service Agent API, including the base URL for the API endpoint.
Troubleshooting
- Missing or invalid API credentials will cause authentication errors. Ensure the API key and URL are correctly configured.
- Incorrect project ID or task ID will result in errors indicating the task or project was not found. Verify IDs before running the node.
- 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.