Progress
Displays a progress indicator widget in chat interfaces.
Common Properties
- Name - The custom name of the node.
- Color - The custom color of the node.
- Delay Before (sec) - Waits in seconds before executing the node.
- Delay After (sec) - Waits in seconds after executing node.
- Continue On Error - Automation will continue regardless of any error. The default value is false.
info
If the ContinueOnError property is true, no error is caught when the project is executed, even if a Catch node is used.
Inputs
- Session Id - Unique identifier for the UI client connection.
- Progress Id - Unique identifier for the Progress Widget.
- Title - Title of the progress indicator.
- Description - Description of the progress indicator.
Options
- None
Output
- Progress Id - Unique identifier for the Progress Widget.
How It Works
The Progress node creates a progress indicator widget that shows the status of a process. When executed, the node:
- Validates the provided Session ID, Title, and Description
- Retrieves the session information for the provided ID
- Creates a progress widget with the specified title, description, and progress ID
- Sends the widget to the client with the specified session ID
- Waits for a response from the client
- Parses the response as JSON
- Returns the widget ID as the output
Requirements
- A valid session ID for an active client connection
- Valid title and description for the progress indicator
- Properly configured client interface that can display progress widgets
Error Handling
The node will return specific errors in the following cases:
- Empty or invalid Session ID
- Session not found for the provided ID
- Title is required but not provided or empty
- Description is required but not provided or empty
- Failed to send widget to client
- Timeout while waiting for client response
- Failed to parse client response as JSON
- Failed to set result
Usage Notes
- The Session ID must match an active client connection
- The Progress Id input allows you to reference an existing progress widget
- The Title and Description fields help users understand what process is being tracked
- The output Progress Id can be used to reference this specific progress widget in other nodes
- Progress widgets are typically used to indicate that a background process is running