Welcome!

Weblogic Authors: Yeshim Deniz, Elizabeth White, Michael Meiner, Michael Bushong, Avi Rosenthal

Related Topics: @CloudExpo

@CloudExpo: Blog Post

4WS.Platform and Activiti BPM | @CloudExpo [#Cloud]

4WS.Platform and the Activiti BPM engine have been fully integrated with each other

BPMN or Business Process Model and Notation is a standard used to describe internal processes of an organization and to provide a graphical representation for a shared procedure, managed by the involved employees and services, in order to optimize the efficiency of the procedure.

A Business Process Model can be applied to cover a variety of needs, including reminders, timeouts, replacements, email notifications, etc.

Using a Business Process Model in a large and complex process makes it possible to get a high efficiency, especially for these reasons:

  • Easy to use and learn
  • Higher execution speed of the procedure
  • Reduction in the execution time of the whole process

In order to allow the definition and management of complex business processes using a unique front-end, the Activiti BPM engine and designer have been embedded into 4WS.Platform EE, a Rapid Application Development solution, also available with an open source license (click to see available licenses) and able to create web applications including BPM processes.

Activiti is considered one of the best BPM open source engines.

However, if used as a standalone product, it has a few weaknesses:

  • Lack of a document management system inside a process: there is not the support of document versioning, storing and searching for documents forwarded to an external CMS
  • A poor and not very user friendly GUI: the provided user interface is quite rigid and not focused on the final user needs
  • A poor data validation: the supported data format includes only text, numbers, fixed enumeration and dates, not validated data through a dynamic list of values, nor translated data.

These weak points have been already successfully addressed in 4WS.Platform, so that the embedding of Activiti takes advantage of the 4WS.Platform features, including a high level of customization at GUI and business logic level.

The main advantages provided by this integration are:

  • Document storing and sharing can be delegated to 4WS.Platform or other extensions, including Alfresco CMS
  • An alternative and better customizable user interface can replace the native GUI provided by Activiti
  • A larger set of graphics components are available through 4WS.Platform, including data validation, mandatory fields, additional data types, supported both at the web GUI and at the database layer.

Thanks to this integration, 4WS.Platform allows to design and configure web and mobile applications with a high level of customization and this is due to the availability of the business processes too, managed at business and GUI levels.

From theory to practice
Now it is time to move from theory to a real example of how to manage processes through 4WS.Platform, which makes it possible to graphically design a business process and monitor its execution, step by step, until its end.

Let's start from the Administration -> Activiti menu available in the 4WS.Platform Web Designer. This menu is composed of these functionalities, all related to the BPM management:

  • Processes
  • Instances
  • To do list
  • History

Processes
Starting from this menu item, it is possible to create new processes and show the list of already designed processes. Through this menu processes can also be started manually, along with input data required when starting the process.

Schermata 2015-02-10 alle 10.34.06.png

A new process can be created in two alternative ways:

  1. By importing a file in '.bpmn' format, which defines a business process; this file can be created externaly, for instance through a stand alone designer available as an Eclipse plugin;
  2. By using the Activiti Modeler, included in 4WS.Platform; this modeler has a web front-end embedded in 4WS.Platform that can be used to graphically design a process and create a model; models can then be converted to active processes; all these operations can be managed internally to 4WS.Platform.

The web modeler can be accessed starting from the list of models when choosing a model, or by pressing the new model button.

A more detailed description of how to use the Activiti web modeler can be found in its project documentation (http://www.activiti.org/).

Schermata 2015-02-10 alle 10.38.02.png

Another way to create a new model is through the duplication of an already existing process and then use the web modeler to change the copy.

Finally, it is always possible to create a ‘.bpmn' file by exporting a model, for instance with the goal of creating a backup copy of the process.

Once completed the process definition and converted the model to an active process, the process selection will show its detail, composed of the process name, version and the picture representing the process definition.

The process detail includes also a button to start the process and optionally fill in the variables involved with the starting task.

This variables pane is configurable through the 4WS.Platform's Web Designer, since it is managed like any other configurable panel defined within Platform.

Instances
After starting a process, the process execution is showed in the instances list, which is composed of 3 sections:

  • Process versions, reporting the versioned processes list, having at least one active instance
  • Process executions, showing all active instances or only instances related to the selected process in the first list
  • The detail pane on the right reports several information about the process execution: the graphical representation of the process and the exact task currently in execution/waiting state; for that task, several information are available: name, process, assignee, expiration time, as well as the process and task variables with their value.

Schermata 2015-02-10 alle 11.06.31.png

Activities
This feature reports the list of tasks potentially assigned to the current user and the list of already assigned tasks.

When selecting a task from the first list (tasks potentially assigned), the user can assign to himself that task or assign it to another user compatible with that task, i.e., belonging to the same group of users potentially assigned to that task.

When selecting an already assigned task, the panel on the right will show the list of variables and let the user to set the values for those variables.

Once completed a task, it can be closed to move forward the process execution. Another way to close a task is through other Platform functionalities, which can automatically close a task when a specific event is fired.

History
Every completed process is showed within the History functionality, whose operation is similar to the Instances feature.

Schermata 2015-02-10 alle 11.08.01.png

Conclusion
4WS.Platform and the Activiti BPM engine have been fully integrated with each other.

Thanks to that, 4WS.Platform has become an ideal tool for those organizations who want to develop web and mobile applications autonomously and by exploiting all the features provided by this mixture, as well as the high level of customization available and the continuos improvement of this solution.

To sum up, Activiti and 4WS.Platform make it possible to manage business processes, including simple features such as email notifications or documents approval/storage and they also allow administrator to get a full control and monitoring of processes defined and in progress.

More Stories By Lorenzo Luccon

Lorenzo Luccon is a Software Architect at Sinesy. He has more than 10 years of enterprise software development experience utilizing JEE technologies, including JSP, JS, Swing, EJB, JPA. He started focusing more on GUI-based client/server Java applications since 2001, then moved to web rich applications, including Sencha ExtJS.

IoT & Smart Cities Stories
The best way to leverage your Cloud Expo presence as a sponsor and exhibitor is to plan your news announcements around our events. The press covering Cloud Expo and @ThingsExpo will have access to these releases and will amplify your news announcements. More than two dozen Cloud companies either set deals at our shows or have announced their mergers and acquisitions at Cloud Expo. Product announcements during our show provide your company with the most reach through our targeted audiences.
Machine learning has taken residence at our cities' cores and now we can finally have "smart cities." Cities are a collection of buildings made to provide the structure and safety necessary for people to function, create and survive. Buildings are a pool of ever-changing performance data from large automated systems such as heating and cooling to the people that live and work within them. Through machine learning, buildings can optimize performance, reduce costs, and improve occupant comfort by ...
@DevOpsSummit at Cloud Expo, taking place November 12-13 in New York City, NY, is co-located with 22nd international CloudEXPO | first international DXWorldEXPO and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time t...
CloudEXPO New York 2018, colocated with DXWorldEXPO New York 2018 will be held November 11-13, 2018, in New York City and will bring together Cloud Computing, FinTech and Blockchain, Digital Transformation, Big Data, Internet of Things, DevOps, AI, Machine Learning and WebRTC to one location.
DXWorldEXPO | CloudEXPO are the world's most influential, independent events where Cloud Computing was coined and where technology buyers and vendors meet to experience and discuss the big picture of Digital Transformation and all of the strategies, tactics, and tools they need to realize their goals. Sponsors of DXWorldEXPO | CloudEXPO benefit from unmatched branding, profile building and lead generation opportunities.
Disruption, Innovation, Artificial Intelligence and Machine Learning, Leadership and Management hear these words all day every day... lofty goals but how do we make it real? Add to that, that simply put, people don't like change. But what if we could implement and utilize these enterprise tools in a fast and "Non-Disruptive" way, enabling us to glean insights about our business, identify and reduce exposure, risk and liability, and secure business continuity?
In this Women in Technology Power Panel at 15th Cloud Expo, moderated by Anne Plese, Senior Consultant, Cloud Product Marketing at Verizon Enterprise, Esmeralda Swartz, CMO at MetraTech; Evelyn de Souza, Data Privacy and Compliance Strategy Leader at Cisco Systems; Seema Jethani, Director of Product Management at Basho Technologies; Victoria Livschitz, CEO of Qubell Inc.; Anne Hungate, Senior Director of Software Quality at DIRECTV, discussed what path they took to find their spot within the tec...
The deluge of IoT sensor data collected from connected devices and the powerful AI required to make that data actionable are giving rise to a hybrid ecosystem in which cloud, on-prem and edge processes become interweaved. Attendees will learn how emerging composable infrastructure solutions deliver the adaptive architecture needed to manage this new data reality. Machine learning algorithms can better anticipate data storms and automate resources to support surges, including fully scalable GPU-c...
Nicolas Fierro is CEO of MIMIR Blockchain Solutions. He is a programmer, technologist, and operations dev who has worked with Ethereum and blockchain since 2014. His knowledge in blockchain dates to when he performed dev ops services to the Ethereum Foundation as one the privileged few developers to work with the original core team in Switzerland.
DXWorldEXPO LLC announced today that Telecom Reseller has been named "Media Sponsor" of CloudEXPO | DXWorldEXPO 2018 New York, which will take place on November 11-13, 2018 in New York City, NY. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.