Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

Help

Workflow Debugging

Blue Integrator provides numerous means of debugging errant Workflows.

(1) New Instance Debugging.  You can simply use the Debug | Start menu item in Visual Studio for Applications to kick off a new Workflow Instance and attach the debugger to it.  Note that this won’t use the latest VSTA code but the saved version of the Workflow itself.  You’ll be prompted to specify file locations for all incoming and outgoing Messages.  This is normally the best way of testing your Workflow prior to deployment.  When running in this mode you can use both VS.Net trace functionality, and even good old 
System.Windows.Forms.MessageBox. You cannot of course use MessageBox in a live Workflow Instance.

(2) Isolation.  Always try and get the cleanest possible scenario for debugging.  Stop all non-essential Workflow Instances and processes to minimize the noise whilst you are trying to rack down your problem.

(3) Tracking.  You can get a lot of information by enabling the various Tracking options on the Workflow Binding, and then using Blue Integrator Tracking to view this information.  Note that to track Messages and Variables, the relevant Tracking option needs to be selected both on the Binding and on the Message / Variable itself (as shown below).

(4) Tracing.  Tracing is generally easier than debugging.  Write out all the information you can from within your Workflow, either using ThisWorkflow base method Log, or a proprietary tracing solution (e.g. a file).  VS.Net trace functionality will not work with a running Workflow unless you are attached to a debugger.  Base method Log logs to the Windows event log and to the Blue Integrator tracking log.

(5) Workflow Instance Debugging.  You can watch the live state of a Workflow and attach Visual Studio for Applications using the Debug button on the Workflow Instance views.  We recommend always enabling the Track all State Transitions option on the Binding before proceeding down this route.