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.

@ThingsExpo Stories
To get the most out of their data, successful companies are not focusing on queries and data lakes, they are actively integrating analytics into their operations with a data-first application development approach. Real-time adjustments to improve revenues, reduce costs, or mitigate risk rely on applications that minimize latency on a variety of data sources. In his session at @BigDataExpo, Jack Norris, Senior Vice President, Data and Applications at MapR Technologies, reviewed best practices to ...
A strange thing is happening along the way to the Internet of Things, namely far too many devices to work with and manage. It has become clear that we'll need much higher efficiency user experiences that can allow us to more easily and scalably work with the thousands of devices that will soon be in each of our lives. Enter the conversational interface revolution, combining bots we can literally talk with, gesture to, and even direct with our thoughts, with embedded artificial intelligence, whic...
Cloud Expo | DXWorld Expo have announced the conference tracks for Cloud Expo 2018. Cloud Expo will be held June 5-7, 2018, at the Javits Center in New York City, and November 6-8, 2018, at the Santa Clara Convention Center, Santa Clara, CA. Digital Transformation (DX) is a major focus with the introduction of DX Expo within the program. Successful transformation requires a laser focus on being data-driven and on using all the tools available that enable transformation if they plan to survive ov...
Smart cities have the potential to change our lives at so many levels for citizens: less pollution, reduced parking obstacles, better health, education and more energy savings. Real-time data streaming and the Internet of Things (IoT) possess the power to turn this vision into a reality. However, most organizations today are building their data infrastructure to focus solely on addressing immediate business needs vs. a platform capable of quickly adapting emerging technologies to address future ...
With tough new regulations coming to Europe on data privacy in May 2018, Calligo will explain why in reality the effect is global and transforms how you consider critical data. EU GDPR fundamentally rewrites the rules for cloud, Big Data and IoT. In his session at 21st Cloud Expo, Adam Ryan, Vice President and General Manager EMEA at Calligo, examined the regulations and provided insight on how it affects technology, challenges the established rules and will usher in new levels of diligence arou...
In his session at 21st Cloud Expo, Raju Shreewastava, founder of Big Data Trunk, provided a fun and simple way to introduce Machine Leaning to anyone and everyone. He solved a machine learning problem and demonstrated an easy way to be able to do machine learning without even coding. Raju Shreewastava is the founder of Big Data Trunk (www.BigDataTrunk.com), a Big Data Training and consulting firm with offices in the United States. He previously led the data warehouse/business intelligence and B...
"Digital transformation - what we knew about it in the past has been redefined. Automation is going to play such a huge role in that because the culture, the technology, and the business operations are being shifted now," stated Brian Boeggeman, VP of Alliances & Partnerships at Ayehu, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
SYS-CON Events announced today that Synametrics Technologies will exhibit at SYS-CON's 22nd International Cloud Expo®, which will take place on June 5-7, 2018, at the Javits Center in New York, NY. Synametrics Technologies is a privately held company based in Plainsboro, New Jersey that has been providing solutions for the developer community since 1997. Based on the success of its initial product offerings such as WinSQL, Xeams, SynaMan and Syncrify, Synametrics continues to create and hone inn...
"Evatronix provides design services to companies that need to integrate the IoT technology in their products but they don't necessarily have the expertise, knowledge and design team to do so," explained Adam Morawiec, VP of Business Development at Evatronix, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
The 22nd International Cloud Expo | 1st DXWorld Expo has announced that its Call for Papers is open. Cloud Expo | DXWorld Expo, to be held June 5-7, 2018, at the Javits Center in New York, NY, brings together Cloud Computing, Digital Transformation, Big Data, Internet of Things, DevOps, Machine Learning and WebRTC to one location. With cloud computing driving a higher percentage of enterprise IT budgets every year, it becomes increasingly important to plant your flag in this fast-expanding busin...
In his Opening Keynote at 21st Cloud Expo, John Considine, General Manager of IBM Cloud Infrastructure, led attendees through the exciting evolution of the cloud. He looked at this major disruption from the perspective of technology, business models, and what this means for enterprises of all sizes. John Considine is General Manager of Cloud Infrastructure Services at IBM. In that role he is responsible for leading IBM’s public cloud infrastructure including strategy, development, and offering m...
Nordstrom is transforming the way that they do business and the cloud is the key to enabling speed and hyper personalized customer experiences. In his session at 21st Cloud Expo, Ken Schow, VP of Engineering at Nordstrom, discussed some of the key learnings and common pitfalls of large enterprises moving to the cloud. This includes strategies around choosing a cloud provider(s), architecture, and lessons learned. In addition, he covered some of the best practices for structured team migration an...
No hype cycles or predictions of a gazillion things here. IoT is here. You get it. You know your business and have great ideas for a business transformation strategy. What comes next? Time to make it happen. In his session at @ThingsExpo, Jay Mason, an Associate Partner of Analytics, IoT & Cybersecurity at M&S Consulting, presented a step-by-step plan to develop your technology implementation strategy. He also discussed the evaluation of communication standards and IoT messaging protocols, data...
Recently, REAN Cloud built a digital concierge for a North Carolina hospital that had observed that most patient call button questions were repetitive. In addition, the paper-based process used to measure patient health metrics was laborious, not in real-time and sometimes error-prone. In their session at 21st Cloud Expo, Sean Finnerty, Executive Director, Practice Lead, Health Care & Life Science at REAN Cloud, and Dr. S.P.T. Krishnan, Principal Architect at REAN Cloud, discussed how they built...
SYS-CON Events announced today that Evatronix will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Evatronix SA offers comprehensive solutions in the design and implementation of electronic systems, in CAD / CAM deployment, and also is a designer and manufacturer of advanced 3D scanners for professional applications.
22nd International Cloud Expo, taking place June 5-7, 2018, at the Javits Center in New York City, NY, and co-located with the 1st DXWorld Expo will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud ...
22nd International Cloud Expo, taking place June 5-7, 2018, at the Javits Center in New York City, NY, and co-located with the 1st DXWorld Expo will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud ...
DevOps at Cloud Expo – being held June 5-7, 2018, at the Javits Center in New York, NY – announces that its Call for Papers is open. Born out of proven success in agile development, cloud computing, and process automation, DevOps is a macro trend you cannot afford to miss. From showcase success stories from early adopters and web-scale businesses, DevOps is expanding to organizations of all sizes, including the world's largest enterprises – and delivering real results. Among the proven benefits,...
@DevOpsSummit at Cloud Expo, taking place June 5-7, 2018, at the Javits Center in New York City, NY, is co-located with 22nd Cloud Expo | 1st DXWorld Expo 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 to wait...
SYS-CON Events announced today that T-Mobile exhibited at SYS-CON's 20th International Cloud Expo®, which will take place on June 6-8, 2017, at the Javits Center in New York City, NY. As America's Un-carrier, T-Mobile US, Inc., is redefining the way consumers and businesses buy wireless services through leading product and service innovation. The Company's advanced nationwide 4G LTE network delivers outstanding wireless experiences to 67.4 million customers who are unwilling to compromise on qua...