Actions56
- Acquisition Actions
- Asset Actions
- Baseline Actions
- Case Actions
- InterACT Actions
- Organization Actions
- Repository Actions
- Task Actions
- Triage Rule Actions
- User Actions
Task → Wait for Completion
AI-generatedOverview
The 'Wait for Completion' operation in the AIR node's 'tasks' resource monitors the status of a specified task until it reaches a completed state or the specified timeout is reached. This operation is beneficial when automating workflows that depend on the completion of tasks, such as waiting for a data processing job to finish before proceeding with subsequent steps.
Use Case Examples
- Automating a workflow that waits for a data processing task to complete before sending a notification email.
- Setting up a process that pauses until a file upload task is finished, ensuring that the file is available for further processing.
Properties
| Name | Meaning |
|---|---|
| Task ID | The unique identifier of the task to monitor. This property is required to specify which task's completion status to track. |
| Timeout (Seconds) | The maximum time, in seconds, to wait for the task to complete. A value of 0 indicates an indefinite wait until the task completes. |
Output
JSON
status- The current status of the task, indicating whether it is still in progress, completed, or encountered an error.completionTime- The timestamp indicating when the task was completed.
Dependencies
- An API key credential for authenticating with the AIR service.
Troubleshooting
- Ensure that the Task ID provided is correct and corresponds to an existing task.
- Verify that the timeout value is set appropriately to avoid unnecessary long waits or premature timeouts.
- Check for network connectivity issues that might prevent the node from communicating with the AIR service.