This is an old revision of the document!
Introduction (Global Connections)
This document describes to the process to create Bizweaver global connections. Global connections define connection information to allow other Bizweaver tools to interact with SQL Server databases, SAP HANA databases, SAP Business One DI Server, SAP Business One DI API, SMTP (Email), Exchange, and REST web services (including SAP Service Layer). These connections are defined once in this function and then can be used in any workflow.
Before You Begin
Global connections will require technical information such as authentication (login) information, server names, database names, and possibly connection port names. Review the information provided in this document to determine what information you will need. Contact your system administrator for the information if necessary.
Creating Connections
The Global Configurations function is started by clicking on the appropriate icon in the toolbar as shown below.
Connection Listing
The area at the top of the page lists all connections that are currently defined.
The “Type” column indicates the type of connection.
Click on the appropriate button in the “New Connections” section to define a new connection.
The connection configuration area changes to show the fields for the selected type and all information is cleared.
Double-click on an item to open it for editing.
The existing configuration information is displayed.
You will need to re-enter user/password information when making a change.
-
Click [Validate & Save] to save new/updated information.
The application will try to validate things like server, database, and authentication information by completing the connection.
If any errors are reported the connection will not be saved.
Click [Close] to close the entry without saving changes.
SQL Connections
SQL connections are used to connect Bizweaver to Microsoft SQL Server databases.
Enter the Server name to which you are connecting.
Enter the name of the Database to which you are connecting.
Enter the SQL Username and Password to access the SQL Server database.
Windows Authentication is not supported.
HANA Connections
HANA connections are used to connect Bizweaver to SAP HANA databases.
Enter the Server name to which you are connecting.
Enter the name of the Database to which you are connecting.
Enter the HANA Username and Password to access the SQL Server database.
Enter the HANA Timeout period
The value is expressed in seconds.
The default value of 30 is appropriate for most installations.
Increase the value if you see SQL timeouts occurring in HANA logs.
DI Server Connections
DI Server connections are only used in SAP Business One environments. They are used to connect Bizweaver to the SAP Business One DI Server application. The DI Server is a tool that interacts with SAP Business One to add and update data in the SAP Business One company database.
The company database name is case sensitive in this configuration.
Type is the database version in use. Supported versions can be selected from the drop-down list.
SBO Username and Password for the user needed to logon to the SAP Business One company.
Language is language in use for the SAP Business One company.
License Server is the server and port where the DI Server will connect to get its license information.
DI API Connections
DI API connections are only used in SAP Business One environments. They are used to connect Bizweaver to the SAP Business One DI API. The DI API is a tool that interacts with SAP Business One to add and update data in the SAP Business One company database.
The company database name is case sensitive in this configuration.
Type is the database version in use. Supported versions can be selected from the drop-down list.
SBO Username and Password for the user needed to logon to the SAP Business One company.
DB (database) Username and Password for the user needed to logon to the SAP Business One company.
Language is language in use for the SAP Business One company.
License Server is the server and port where the DI Server will connect to get its license information.
SMTP Connections
SMTP connections are used to provide connection information for the server(s) that handle email. Most installation will only have one SMTP connection. However, there is no technical restriction on the number of connections that are defined.
Server is the server where your SMTP application is found
Port Number is the specific communication port used to connect to the SMTP application. Port 25 is the most common when connecting to an internal server. Port 465 or 567 are common when SSL is in use. Contact your system administrator if you are not sure of what value to use.
Enable SMTP Credentials (Username & password)
Your installation may not require SMTP credentials to send mail from Bizweaver. However, identifying a valid user in this step is required to use the error handling functions of Bizweaver.
The connection information is saved but is not validated. Any connection errors will only be shown when the connection is used in a workflow.
Exchange Connections
Exchange connections are used to access a Microsoft Exchange server directly. This is different from the SMTP connection, even if you use Exchange as your SMTP server. This allows you to read incoming email and create appointments (meetings) for other users. Defining this type of connection does not apply if you do not use an Exchange server.
Select the Exchange Version from the drop-down list.
Enter the Username and Password for a user that can access Exchange.
Enter the Domain name of which the Exchange service is a member.
Enter the Email of the mailbox to be monitored.
The connection information is saved but is not validated. Any connection errors will only be shown when the connection is used in a workflow.
Only one mailbox can be monitored per connection. If you want to monitor multiple mailboxes you will need to create a connection for each one.
REST Connections
REST is one of two primary methods (the other being SOAP) of accessing application programming interfaces (API). Application vendors provide these interfaces to support external access to their data structures and business logic. REST is the only method supported by Bizweaver.
REST global connections can be used when the authentication method used by the target API is either basic or oAuth 2. If the target API does not use either of these methods then the authentication method will be included directly in the web service call.
oAuth 1 is not supported in Bizweaver.
Basic Authentication
Select the Basic Authentication radio button.
Enter the appropriate username & password.
The connection information is saved but is not validated. Any connection errors will only be shown when the connection is used in a workflow.
oAuth 2 Authentication
Select the oAuth 2 Authentication radio button.
Select the Grant Type from the drop-down list.
The Grant Type will be defined in the API’s documentation.
The remaining fields that can be accessed will change based on the Grant Type.
Again, the
API documentation should provide instructions on how to obtain the various authorization elements.
The Redirect
URI can generally be anything you like (e.g.
https://mysite.com). This function is typically used for a website as opposed to an
API. However, some APIs still require a value of some sort. Check with the
API author if you have problems with this setting.
The connection information is saved but is not validated. Any connection errors will only be shown when the connection is used in a workflow.
Delete A Global Configuration
When a Global Connection is deleted, a consistency check is performed to ensure that any workflows using the connection are updated. A list of associated workflows and steps are listed in the lower area of the window. Replacement connections must be specified or the deletion process will not continue.
Option 1 is to use the “Replace all” option to update all listed workflow (Task) steps with a new connection.
Use the drop-down to select a connection from the list presented.
The “New Connection” value for all rows is set automatically.
Option 2 is to update each workflow/step individually.
Use the drop-down in each row to select a connection from the list presented.
Option 3 is use options 1 and 2 together.
Use option 1 to update the “New Connection” value for all rows.
Use option 2 to update individual rows to a different connection as needed.
Click [Replace and Save] to complete the update.
Click [Close] to exit without saving any changes.
Email Setup for Microsoft Office365
There are three different options for using Microsoft Office365 as your SMTP connector to send email from Bizweaver. Fortunately, the simplest, and recommended, option works quite well. The following information is from Microsoft.
Option 1 (recommended): Authenticate your device or application directly with an Office 365 mailbox, and send mail using SMTP client submission
This option supports most usage scenarios and it's the easiest to set up. Choose this option when:
You want to send email from a third-party hosted application, service, or device.
You want to send email to people inside and outside your organization.
To configure your device or application, connect directly to Office 365 using the SMTP client submission endpoint smtp.office365.com.
Each device/application must be able to authenticate with Office 365. It can have its own sender address, or all devices can use one address, such as printer@contoso.com.
How to set up SMTP client submission
Enter the following settings directly on your device or in the application as their guide instructs (it might use different terminology than this article). As long as your scenario meets the requirements for SMTP client submission, the following settings will enable you to send email from your device or application.
| Device or Application setting | Value |
| Server/smart host | smtp.office365.com |
| Port | Port 587 (recommended) or port 25 |
| TLS/ StartTLS | Enabled |
| Username/email address and password | Enter the sign in credentials of the hosted mailbox being used |
The following image shows how this setup is implemented as a Bizweaver Global Connection.