Skip to main content

Introducing Formengine - The New Formbuilder, try for FREE

Get Started

OptimaJet offers two products to create and manage workflows:

  • Workflow Server – developed as a separate solution with a frontend, admin panel and HTTP API for process control.
  • Workflow Engine – developed as a .NET library and a JavaScript component with a C# API for process control.

The solutions share a common process design and features but the implementation can differ. This comparison table describes the features of each solution. Although the products have a common base, there are self-contained:

FeatureWorkflow EngineWorkflow Server
Workflow version control++
Workflow Designer++
Integration with other components++
Restful API/HTTP API/Swagger-+
Admin panel-+
Standalone application-+
Security (users, roles, permissions)**
Form Builder-+ **
End-user interface-+ **

* It can be integrated with your security provider, but development is required.

** Developing end-user forms based on Vue.js requires Workflow Server >= 2.6.

Reading the introductory sections about Workflow Scheme and Process Execution, is recommended to get started. Besides, watching this video that demonstrates how to create a workflow scheme.

Let us take a closer look at the solutions.

Supported .NET versions

Below is a list of nuget packages and the .NET version with which the package is compatible. For .NET standard use Microsoft's compatibility table -

.NET compatibility table

Nuget Framework.NET ImplementationVersion Support
netstandard2.0.NET and .NET Core2.0, 2.1, 2.2, 3.0, 3.1, 5.0, 6.0, 7.0, 8.0
netstandard2.0.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
netstandard2.1.NET and .NET Core3.0, 3.1, 5.0, 6.0, 7.0, 8.0
6.0.NET6.0, 7.0, 8.0

Workflow Engine packages

Nuget.NET version
WorkflowEngine.NETCore-Core.NET Standard 2.0
WorkflowEngine.NETCore-ProviderForMSSQL.NET Standard 2.0
WorkflowEngine.NETCore-ProviderForPostgreSQL.NET Standard 2.0
WorkflowEngine.NETCore-ProviderForMongoDB.NET Standard 2.0
WorkflowEngine.NETCore-ProviderForMySQL.NET Standard 2.0
WorkflowEngine.NETCore-FilesPlugin.NET Standard 2.0
WorkflowEngine.NETCore-NexmoPlugin.NET Standard 2.0
WorkflowEngine.NETCore-TwilioPlugin.NET Standard 2.0
WorkflowEngine.NETCore-TelegramPlugin.NET Standard 2.0
WorkflowEngine.NETCore-SlackPlugin.NET Standard 2.0
WorkflowEngine.NETCore-ActiveDirectoryPlugin.NET Standard 2.0
WorkflowEngine.NETCore-ProviderForOracle.NET Standard 2.1
WorkflowEngine.NETCore-ProviderForSQLite.NET 6.0

Workflow Server packages

Nuget.NET version
WorkflowEngine.NET-Server.NET 8.0
OptimaJet.Logging.NET Standard 2.0

Supported databases

Below is a list of supported databases and the providers required for them.

Microsoft SQL ServerWorkflowEngine.NETCore-ProviderForMSSQL
Azure SQLWorkflowEngine.NETCore-ProviderForMSSQL
Azure SQL Managed InstanceWorkflowEngine.NETCore-ProviderForMSSQL
Azure Cosmos DBWorkflowEngine.NETCore-ProviderForMongoDB

How to choose? Workflow Engine or Workflow Server?

There are key elements that should be kept in mind in order to choose the solution that better fits specifications and requirements:

  • First, the functionality that is needed. It should be considered. If Workflow Engine's functionality is enough, so you might move forward and select this solution.

  • Which assembly is required - a standalone application or a library? If a quick start-up is a must, the best option is definitely the Workflow Server in a docker container.

  • If the applications are not written in .NET and there are no .NET developers available, then a better option will be Workflow Server.

  • In case of building the solution in an existing .NET application, it is better to choose Workflow Engine.

  • How the client's components or functionalities to the product will be added? If further enhancements will often go through the integration of external services - a better choice would be Workflow Server, otherwise - Workflow Engine.

  • The degree of customization is also important. If the solution implies a wide customization, Workflow Engine is the best option. If a lot of connections and additional servers are needed to integrate Workflow Server into the solution, as a result of architecture development, then it may be worth reconsidering the approach and embedding Workflow Engine into one of the servers.

  • In addition, the price. Workflow Engine is cheaper than Workflow Server.

  • Finally, the following relevant criteria should be evaluated to choose a solution properly:

CriteriaWorkflow EngineWorkflow Server
Set of functionalities- Workflow Engine (Runtime).
- Workflow Designer.
- Workflow version control.
- Integration with other components.
- Plugins
- Everything that is supported in the Workflow Engine.
- Swagger.
- Administration panel.
- Simple user forms.
- Importing users from LDAP.
- Integration with OpenID.
- Logging to file/console/DB.
- Import/Export configuration.
- Form builder.
- End-user interface.
Distribution typeWorkflow Engine (Runtime), distributed as nuget packages:
- .NET Standard 2.0 packages.
Workflow Designer, distributed as JavaScript library:
- Plain JavaScript library.
- React library.
- Angular library.
It is a standalone .NET 8 application.
Cross-platformNuget packages are available for .NET Standard 2.0 which is compatible with .NET Framework 4.6.2 and above.It works well on .NET 8.
Docker containerYou can create your own docker container with Workflow Engine.Yes, there is.

Workflow Server

The latest version of Workflow Server is available in the Downloads section. These instructions should be followed to run WorkflowServer with the provided database or Docker can be used to deploy it automatically.

First, a scheme must be created. It can be done either from scratch or by using one of the ready-made schemes on our test server. We highly recommend starting with the simplest, TestScheme, which contains three states and two transitions with commands.

After creating the scheme, the Workflow API can be used from the admin panel to manage the processes. For instance, a process based on the scheme can be created, the list of available commands is enabled, and commands are executed through this interface. Each section provides code examples of how to call methods from an external system using the HTTP API.

Access to the API and admin panel can be restricted from the Security tab on the Settings section.

In addition, an external system with users, roles, etc. might be integrated with the Workflow Server. More detailed information is provided in this guide.

The functionalities can be extended by applying the Code Actions or rebuilding WorkflowServer using the Visual Studio solution that is delivered with the package.

Starting with version 2.6, the user interface constructor and user form creator are available, like in a CMS. In version 2.7, users are authorized to access forms.

Workflow Engine

An instance of WorkflowRuntime must be created to start working. This object provides the access to the C# API for creating and managing workflow instances. The key functions are:

  • CreateInstance – create a process (workflow) instance.
  • GetAvailableCommands – get the list of available commands.
  • ExecuteCommand – execute a command.
  • SetState – set a state.
  • DeleteInstance – delete a process (workflow) instance.

Further details can be read here.

We recommend starting with one of the examples, where WorkflowRuntime is already configured and an example of a workflow is given.

The current available sample applications for WebForms, ASP.NET MVC and ASP.NET Core are:

In case of Angular, there are examples based on the standard angular and angular boilerplate solutions. Unfortunately, other examples are not provided because they’re rarely used, and creating and supporting them requires considerable effort.

Workflow Engine stores basic information regarding processes in: WorkflowProcessScheme and WorkflowProcessInstance tables in the database. Further information can be read here.

Once acquaintance with the product is reached, is possible to start integrating it into a project. Our step-by-step integration guide gives guidance to move forward on the topic.

If managing users and roles in the schemes is planned, the engine must be integrated with the security system. This article explains in detail how to perform the task using the Basic Plugin.

WorkflowEngine has extensive design customization options. For example, owned Actions can be declared on the backend, and a set of parameters for the call might be specified. Based on this description, WorkflowDesigner automatically shows the form with the parameters specified.

Workflow Terms

The following terms are shared equally by Workflow Engine and Workflow Server.

Workflow terms graph