WorkflowEngine v3.0 Release Notes

    • The interface of Workflow Designer has been revamped to improve usability
      • The look and feel of the scheme has been changed
      • The library that renders popup windows and controls has been changed from jQuery UI to Semantic-UI. jQuery UI has been removed from the project completely. Autocomplete for lists has been implemented with jQuery-autoComplete
      • The Konva.js version has been updated to 2.0.2
      • The 'Extended Info' mode has been added to provide additional information needed when creating a workflow scheme
      • Undo and redo have been added
      • Current activity of subprocesses is now highlighted
      • Global CodeActions have been simplified
      • Scheme legend has been added
    • ๐Ÿ— Builds for .NET Core 2.0 and .NET Standard 2.0 have been included to .NET Core packages
    • 0๏ธโƒฃ The order of search for Action, Condition and Rule in Code Actions and IWorkflowActionProvider(IWorkflowRuleProvider) has been changed. Earlier on, the order was as follows (highest to lowest priority): Global CodeAction, CodeAction in the scheme, IWorkflowActionProvider(IWorkflowRuleProvider). Now this order is the following by default: CodeAction in the scheme, Global CodeAction, IWorkflowActionProvider(IWorkflowRuleProvider). Thus, CodeAction in the scheme has the highest priority. Search priority can be set with the runtime.SetExecutionSearchOrder(ExecutionSearchOrder order) setting.
    • ๐Ÿ— Parameter type names used to be stored as an assembly qualified name (by specifying the version of the build and the public key token), which resulted in troubles when migrating schemes from the .NET Framework environment to the .NET Core environment. Now a simplified type name - the one that is displayed in Designer - is stored in the scheme. Old schemes are loaded without changes; type names will be replaced after the first save of the scheme in the Designer.
    • ๐Ÿ›  Errors that occur when there's a '-' in CodeAction names have been fixed.

    The following additional actions must be taken to uprgade to Workflow Engine 3.0:

    • โšก๏ธ It is not necessary to update to the new version of the Designer; however, we strongly advise it. The old version of the Designer shall work with the new versions of the Workflow Engine at least within the next half a year. If you are updating to the new version of the Designer, introduce the following changes to the pages where Designer is displayed.
      • Delete links to jquery-ui.min.css and jquery-ui.js html <link href="/Content/themes/base/jquery-ui.min.css" rel="stylesheet" type="text/css"/> <script src="/Scripts/jquery-ui.js" type="text/javascript"/> ``` - Add links to **semantic.min.css**, **semantic.min.js**, **jquery.auto-complete.min.js** ```html <link href="/Content/semantic.min.css" rel="stylesheet" type="text/css"/> <script src="/Scripts/semantic.min.js" type="text/javascript"/> <script src="/Scripts/jquery.auto-complete.min.js" type="text/javascript"/>
    • If the new order of search for Action, Condition and Rule does not suit you, change it with the following setting:
    runtime = runtime.SetExecutionSearchOrder(ExecutionSearchOrder.GlobalLocalProvider);
    

    Then, everything shall work the same way it did in the previous versions.

    • ๐Ÿ‘ป Workflow Engine's reaction to the scenario where it could not find an Action, Condition or Rule in CodeActions or IWorkflowActionProvider(IWorkflowRuleProvider) has been changed. Earlier on, Workflow Engine ignored this scenario which made it difficult to debug schemes. Now, the NotImplementedException exception is thrown, specifying the name of the object which was not found. If this behavior does not suit you, use the following setting:
    runtime = runtime.SetIgnoreMissingExecutionItems(true);