AIR icon

AIR

Manage Binalyze AIR resources

InterACT → Wait for Session to Be Live

AI-generated

Overview

The 'Wait for Session to Be Live' operation in the InterACT resource of the AIR node is designed to monitor the status of a specific session task in the InterACT system. It pauses the workflow until the designated session becomes active, ensuring that subsequent actions are performed only when the session is ready.

Use Case Examples

  1. Monitoring a session's readiness before executing commands on a device.
  2. Ensuring a session is live before initiating data retrieval processes.

Properties

Name Meaning
sessionId The unique identifier for the InterACT session to monitor.
taskId The specific task ID within the session to track for status changes.
timeout The maximum duration (in seconds) to wait for the session to become live. A value of 0 indicates an indefinite wait.

Output

JSON

  • status - Indicates the current status of the session (e.g., 'live', 'inactive').
  • sessionId - The ID of the session being monitored.
  • taskId - The ID of the task within the session.

Dependencies

  • InterACT API access
  • Valid session and task IDs

Troubleshooting

  • Ensure that the provided sessionId and taskId are correct and correspond to existing entities in the InterACT system.
  • Verify that the InterACT API is accessible and functioning properly.
  • If the timeout is set to 0, be aware that the workflow will wait indefinitely; consider setting a reasonable timeout value to prevent potential workflow stalls.

Discussion