Wiki

Scale Your Enterprise

User Tools

Site Tools

mbstring extension must be loaded in order to run mPDF

bw2:executing_a_workflow

This is an old revision of the document!


Executing a Workflow

There are four methods to execute a Bizweaver workflow: test/debug mode, “run now“, scheduled, and from SQL. The results are the same for all methods.

Test/Debug Mode

The Bizweaver Test Run Tool allows a developer to execute a workflow in a step-by-step manner. Variable values can be examined at each step to confirm that they are what is expected. More information on this tool is found here.

Run

The “Run” option is used to execute a workflow while in Bizweaver. There are three ways to use this option.

First, the workflow can be executed by clicking the “Run” link as shown below.

2.6

2.7

Second, right-click on any workflow in the Workflow List area, and select the “Run now” option.

Third, in the workflow designer navigate to the menu bar, select tools, then “Run Now.”

In all cases, the workflow is executed immediately. No feedback is provided while the workflow is executing (as seen in the Test Run tool).

Run Now Log

At the end of the execution, a “Workflow Execution Status” window is automatically displayed, showing the workflow's log information.

In general, you will only need to scan the log records for information in the “Message” column. These will typically be error messages that may need attention.

Click on the Open Log File link to open a text file of log information. This file will have more technical information and can be saved for further review.

Click the [Close & Delete Log Records] button to delete the log information from the Bizweaver logging table, and close the window.

Click the [Close] button to close the window. An additional dialog will allow you to delete the log records here as well.

Note that the log records can be retained if desired. This can be helpful if you are doing reporting from the Bizweaver log table. See the Acitivty Logging page for more information.

Scheduled Execution

Bizweaver workflows can be automatically executed based on a schedule using the built-in functionality within Bizweaver. This is the most common and most efficient way to execute workflows. For more details please follow the link, Workflow Schedules for more information.

Call From SQL Server (SAP Business One)

The configuration to initiate a Bizweaver workflow from the SQL Server database is described here

Call From SQL Server (SAP Business One) Using HTTPS

The process to initiate a Bizweaver workflow from the SQL Server database via Bizweaver's API is described here

Call From Web Service Tool

The process to initiate a Bizweaver workflow from the WebService Tool is described here

bw2/executing_a_workflow.1672860823.txt.gz · Last modified: 2023/01/04 14:33 by mfoster