B2Win Client Service
Overview
The B2Win Client service tells workflow nodes which computer to use and, for printing, which printer. The computer is a user's PC running the B2Win Suite Client.
Every B2WS Client node has a B2Win Client field where you select one of these service configurations.
Purpose
Use this service to decide:
- Whose computer a workflow uses: one fixed user's, or the computer of each user who runs the workflow.
- Which of that user's computers: one specific computer, or whichever one is online.
- Which printer: the computer's Windows default printer, or a printer you choose.
A service only uses computers that belong to its user. It can't send work to another person's computer.
CurrentOnlineClient
CurrentOnlineClient comes with B2Win Suite. It runs each workflow on the computer and printer chosen by the user who runs the workflow. For example, one invoice workflow can print on each user's own desk printer.
- It is a system service. In Configurations > Services, Edit and Delete are unavailable for it (This system service cannot be edited, This system service cannot be deleted).
- Its Service Override Type is Force. It stores no shared computer or printer, so each user who wants to use it must choose their own in Me > My Services.
- A user who hasn't chosen can't run nodes that use it. The workflow stops with Service CurrentOnlineClient requires each user to choose their own B2Win client.
- When a user connects a new computer and hasn't set up CurrentOnlineClient yet, B2Win Suite adds a personal setting for them with Client set to None. Nodes that use the service stop with No B2Win Suite Client is selected for user … on service CurrentOnlineClient. Choose a client for this service in My services. until the user chooses a client. A choice the user already saved is kept.
Choose your computer and printer
- Open Me > My Services.
- Select CurrentOnlineClient.
- Under Client, choose Use a specific client and pick your computer, or choose Use first available online client. See Client options.
- Choose the printer. See Printer options.
- Click Save Changes.
Create a Service Configuration
Create your own configuration when a workflow should always use one particular computer, for example the warehouse PC that prints shipping labels for everyone.
Go to Configurations > Services, select B2Win Client and create a new configuration. You can also click New Configuration in the B2Win Client field of a B2WS Client node.
| Field | Required | Default | Description |
|---|---|---|---|
| Select user | Yes | You | The user whose computers this service uses. It is always set to your own account. If you open a configuration saved by another user, its client and printer choices are locked and Use my user appears. Click it to switch the configuration to your account and your computers. |
| Client | Yes | Use a specific client | Which of the user's computers to use. See Client options. |
| Select client | Yes | None | Shown for Use a specific client. Lists the user's computers. |
| Printer | No | Use Windows default | Shown for Use a specific client. See Printer options. |
| Printer (list) | Yes | None | Shown for Use specific printer. Lists the printers installed on the selected computer. |
| Clients table | No | Use Windows default for each computer | Shown for Use first available online client. One row per computer of the user, with Client Name, Status, Last Seen, Default Printer and Printer Selection. |
Set Service Override Type (see Whose computer is used), then click Save. Name, Description and Service Override Type are described in Services Configuration.
Client options
| Option | What happens when the workflow runs |
|---|---|
| None | No computer is used. Nodes that need a client stop with an error. |
| Use first available online client | Uses the user's computer that is online. If several are online, the most recently active one is used. If none is online, the request goes to the computer the user last connected from and waits until it connects. |
| Use a specific client | Always uses the computer chosen in Select client. |
Printer options
The printer is used only by the Print (B2WS Client) node.
| Option | Printer used |
|---|---|
| Use Windows default | The printer set as the default in Windows on that computer. |
| Use specific printer | The printer you pick from the printers installed on that computer. |
With Use first available online client, choose the printer for each computer in the Printer Selection column of the clients table. A computer left on Use Windows default prints to its Windows default printer.
The printer lists come from the printers synced from each computer. See Make your printers available to workflows.
Whose computer is used
Service Override Type decides whose computer runs the workflow:
| Service Override Type | Computer used |
|---|---|
| None | Always a computer of the user in Select user, whoever runs the workflow. |
| Allow | A user who saved their own choice in Me > My Services uses their own computer. Everyone else uses the computer of the user in Select user. |
| Force | Each user must choose their own computer in Me > My Services. The service stores no user or computer, and the form shows Users must choose a client. No global user or client is stored. |
With Allow or Force, the client and printer fields share one field permission: changing it for one field changes it for all of them. Select user is always hidden in My Services, so users can only choose among their own computers.
Usage
Once configured, this service can be selected in:
- Read File (B2WS Client): bring a file from the computer into the workflow.
- Copy File (B2WS Client): save workflow files to a folder on the computer.
- Print (B2WS Client): print workflow documents on the selected printer.
- Send Email (B2WS Client): send or draft an email through Outlook on the computer.
After you select a configuration, the node shows a card titled Your current client (Your current client & printer in the print node). It shows the B2Win Suite Client with its Online or Offline status, the User name and, for printing, the Printer. The note under the card says Preview for your account only. when the node uses each user's own settings, or Taken from the service. when it uses the settings saved on the service.
Troubleshooting
| Message | What to do |
|---|---|
| No B2Win Suite Client is selected for user … on service …. Choose a client for this service in My services. | Client is set to None. Choose a client in Me > My Services, or on the service configuration. |
| Service … requires each user to choose their own B2Win client | The service uses Force and the user hasn't chosen a computer. Choose one in Me > My Services. |
| No B2Win client is available for … | The user has never connected a computer with the B2Win Suite Client. Install it and sign in. |
| B2Win Suite Client … belongs to another user | The selected computer isn't one of the service user's computers. Choose one of their own computers. |
| Windows default printer is not set on client … | Set a default printer in Windows on that computer, then click Sync Settings in the client. |
| Printer '…' was not found on client … | The printer was removed or renamed on that computer. Click Sync Settings in the client and choose the printer again. |
Notes / Limitations
- The B2Win Client service has no Test Connection button.
- When you import a workflow that uses CurrentOnlineClient, it uses the CurrentOnlineClient service of the server you import it into.