Custom components

<< Click to Display Table of Contents >>

Navigation:  Bizagi Studio > Process wizard > Integrate > Application integration > Integrating APIs and extending Bizagi >

Custom components

Overview

Bizagi offers an integration layer which allows existing corporate systems (such as ERP, CRM, Core applications, legacy systems and services in the ESB in general), to be integrated by Bizagi corporate solution throughout different possibilities.

The possibility described in this article features powerful integration extensibility, for both the business logic running in processes, and in terms of connecting to other systems (that is, the possibility to make use of specific APIs to invoke other applications or databases).

 

Recall that additional integration approaches allow organizational processes in Bizagi to easily use:

A Web services connector which allows you to invoke standard SOAP web services or RESTful services (of intranet or internet systems and applications), with no programming needed.

A built-in SAP connector that integrates to your SAP ERP system, also with no programming needed.

For more information about such options, refer to Application integration.

 

In scenarios where these above connectors do not suffice and there is the need to extend or customize the logic running at Bizagi servers (e.g, to integrate with specific systems and applications or reuse APIs), you may choose to create your own components to bundle within Bizagi through 2 alternatives: Bizagi Component library or Bizagi Connectors.

 

Bizagi Component library

The component library allows you to develop or reuse APIs or your own class libraries, so that you build them by using an IDE of your choice (Visual Studio, Eclipse, Netbeans, etc).

Though it allows you to connect to legacy systems and databases, you may also extend the logic and processing capabilities of business rules by bundling such libraries inside Bizagi (dll assemblies or .jar files).

 

An example of Component library use oriented towards business logic enhancement, is when we need to consider Process logic that implements sophisticated calculations or operations, for instance when performing amortization payments simulators or manipulating content inside files. These operations can be so complex that may involve the use of existing components and APIs.

Regarding component library use for integration purposes, a corporate solution may require relying on drivers that connect to other databases or systems, mainly legacy, mainly those which do not have a service-oriented architecture.

 

The following image illustrates its runtime concept:

BigPictureCL

 

note_pin

Bizagi connectors features powerful extensibility capabilities regarding integration with other systems and applications, especially with those having a cloud-oriented API (using a RESTful architecture).

Bizagi connectors are portable and highly reusable, and are mainly oriented to connectivity and data, without involving this data's processing.

For more information about this feature, refer to Connectors.

 

How does it work?

The Component library acts as a middleware repository of custom-developed components (which can use in turn, other external APIs or connectors).

 

This component is registered in Bizagi by including its compilation file (either a built .dll or .jar, according to the platform technology in which Bizagi's Processes will be executed).

 

For .NET-based environments, components in the Component Library will have a corresponding dll assembly.

 

Once registered in the Component library of a Bizagi project, components’ public methods can be directly invoked from the Processes’ business rules (from either synchronous or asynchronous tasks).

 

note_pin

To view best practices oriented to the use of Component library, refer to Component library guidelines.

 

 

Components in Production

Once a project has been deployed to the Production environment, it will not be possible to delete its components (registered in the Component Library).

 

Therefore, in the development environment (through Bizagi Studio) edition of components’ information is restricted according to whether or not this component is already deployed on a productive environment.

 

Edition of a deployed component’s information will consider:

 

You may edit its registered compilation file (dll assembly or jar file).

You may not edit the component’s name or its defined namespace in the Component library.