This is an old revision of the document!
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.
This document is intended for developers of Bizweaver workflows.
The following documents contain additional information that may be helpful with the development of Bizweaver workflows.
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.
The Global Configurations function is started by clicking on the appropriate icon in the toolbar as shown below.
SQL connections are used to connect Bizweaver to Microsoft SQL Server databases.
Windows Authentication is not supported.
HANA connections are used to connect Bizweaver to SAP HANA databases.
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.
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.
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.
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.
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.
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 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.
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.
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:
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.