Introduction
Smart Buddy is a client component within IntelliBuddies designed to execute automation tasks. It serves as a logical representation of one of the entities within the Control Room.
Smart Buddy component is available only as part of IntelliBuddies Enterprise Edition.
Smart Buddy executes end-to-end automation without human assistance. Hence, it must be attached to a Smart Station to execute automation. Once registered and connected to a specific Smart Station, Smart Buddy will automatically log into the Smart Station, using the specified credentials, and execute the automation.
Smart Buddy utilizes a user-locked floating license. You can always move an existing Smart Buddy from one Smart Station to another within the Control Room.
Architecture
The components of Smart Buddy includes:
Smart Station Service
Smart Station Service is a Windows Service deployed on Smart Station. The functionality of Smart Station Service are:
- Managing Smart Buddies running on this Smart Station
- Provides periodic status updates on Smart Buddies to Control Room
Smart Station Agent (Tray)
Smart Station Agent is a Windows Tray application executed in the context of a logged-in user. The Smart Station Agent is the Smart Station's actual user interface. You can find the Smart Station Agent as part of the System Tray, and the table below summarizes the status of the Smart Station based on the icon that appears inside the System Tray.
Icon | Description |
---|---|
The Smart Station is disconnected from the Control Room; hence, all the Smart Buddies associated with this Smart Station are currently unavailable to execute automation. | |
The Smart Station is connected to the Control Room; hence, all the Smart Buddies associated with this Smart Station can execute automation. | |
None | Smart Station Agent is not running |
You can perform the following operations using the Smart Station Agent
Operation | Description |
---|---|
Disconnect | Disconnect the Smart Station from the Control Room. If the associated Smart Buddies are executing automation jobs and you want to disconnect forcefully, all those jobs will be aborted before disconnecting. |
Connect | Connect to the Control Room. Once connected, all the Smart Buddies associated with this Smart Station will be available to execute automation. |
View Details | Displays the smart station configuration details. |
Windows Execution Account
The Smart Buddy uses this Windows user account to run the automation inside the Smart Station. It executes automation under the associated Windows user context. The table below details the requirements of this Windows account.
Requirement | Description |
---|---|
User Account Exists | The account must exist locally or on the domain. In the case of a domain account, the machine also should be part of the domain. |
Local or Batch Logon Rights | Required for executing background processes. |
Permissions to Run Executables | User account must have file and execution permissions. |
Interactive Login Rights | Required for executing foreground processes. |
Background Process
In the case of background process execution, the Buddy will execute the job under the specified Windows execution account context with or without an interactive session. You can set a process as a background while creating the process.
Foreground Process
In other cases, the Buddy will execute the job under the specified Windows account interactive session inside the Smart Station. If the session does not exist, the Smart Buddy will log in to the Smart Station with the associated Windows user account using RDP, create a session, and execute the automation.
Smart Buddy will need RDP access to Smart Station when it does not find the Smart Station User session to execute automation. Hence, ensure no manual interactions, such as Legal Disclosures, are configured while creating a user session through RDP. If there are any such manual interactions, the Smart Buddy will fail to get the user session and fault without executing automation.
It is recommended that each Smart Buddy be configured with its corresponding Windows Execution Account to maximize concurrency and automation performance. Suppose multiple Smart Buddies are configured to use a single Windows Execution Account session; it is your responsibility to ensure that automation executed by these Smart Buddies is consistent with resource usage such as screen, mouse, keyboard, and other shared resources within that user session.
Control Room Account
This is the Control Room User account to which the Smart Buddy license is attached. Smart Buddy is a logical entity that physically does not exist. Inside the Control Room, this entity binds the Control Room user with a Smart Station and associates the Windows Execution Account to execute automation. Smart Buddy logs in to Smart Station using this Windows Execution Account credentials to execute automation.
Enabling Smart Buddy
- Deploy Client Tools (Smart Station Agent) on the Smart Station. For more information on deploying client tools, please refer to: You can either use online Web Installer or offline by downloading and installing the Client Tools Deployment
- Provision a Smart Station inside the Control Room. Please refer: Provisioning Smart Station
- Save the Machine Key generated in the previous step
- Register Smart Buddy inside the Control Room. Please refer: Registering Smart Buddy
- Log in to Smart Station using the Windows Execution Account.
- Start the Smart Station Agent application
- Provide the Control Room URL and tenant name along with the Machine Key saved and log into Control Room**
Once you perform the above steps successfully, your Smart Buddy is ready to execute automation.
Executing a Job
You can submit an automation job to Smart Buddy in multiple ways. Please refer: Submitting Jobs
All the jobs are queued into a Job Queue inside the Control Room. Smart Buddy will pick up the jobs from the Queue and execute them.
Connect Smart Station Agent
Follow the below steps to Connect to the Smart Station Agent
- Right-click on the Smart Station Agent tray icon
- Click on the option Connect
- Control Room Settings dialog appears
- Enter the Control Room URL, Tenant Name, and Machine Key used during Smart Station provisioning in Control Room
- Click on Connect.
Disconnect Smart Station Agent
Follow the below steps to Connect to the Smart Station Agent
- Right-click on the Smart Station Agent tray icon
- Click on the Disconnect option.
View Details
It shows the details about the smart station service to which it connects the Agent.
Field | Description |
---|---|
Control Room URL | Specifies the URL of the Control Room to which the Smart Station service is connected. You can copy and launch the URL directly. |
Tenant Name | Specifies the Tenant name of the Control Room. |
Machine Name | Specifies the name of the machine running the Smart Station service. |
Buddies Registered | Indicates the number of Buddies registered with this Smart Station. Users can refresh the count using the refresh button after updating Buddy details in the Control Room. |
Version | Specifies the version of the smart station service. |
Operating System | Specifies the name and version of the operating system where the smart station service is running. |
If any jobs run when you try to disconnect the Smart Station Agent, you will receive an alert message: All job(s) will be aborted if you disconnect the Agent. Do you want to continue?