Deliverable · WP2
D2.2: concepts for modelling IoT-aware business processes in BPMN 2.0
IoT-A's proposal for letting process modellers draw sensors, actuators and physical things into BPMN 2.0 diagrams, with an orchid shelf as the worked case.
- Deliverable
- D2.2
- Work package
- WP2 · Processes and service orchestration
- Issued
- March 2012
- Pages
- 97
- Editor
- Sonja Meyer (SAP)
- Delivered
- 12 March 2012
A pot of rare Chinese orchids sits on a supermarket shelf with an electronic price label. A temperature sensor watches the air around it. When the readings suggest the flowers will lose quality, the price drops before anyone can see a wilted leaf. Deliverable D2.2 draws this as a business process diagram, and the drawing is the point: standard BPMN 2.0 of the time had no symbol for a sensor reading a physical thing, or for a price label changing what a customer sees.
The document is the IoT-A consortium’s proposal for closing that gap. Sonja Meyer of SAP edited it with SAP colleagues Klaus Sperner, Carsten Magerkurth, Stefan Debortoli and Matthias Thoma, and Gregorio Martín Romero of Telefónica Investigación y Desarrollo reviewed it. It was due on 28 February 2012 and delivered on 12 March 2012.
The question D2.2 answers
Enterprise systems run on business processes, and those processes are modelled in notations designed for software services and human tasks. The IoT adds participants that do not fit: devices that come and go, physical entities that have no behaviour of their own, readings with uncertain quality. D2.2 asks what a modelling notation needs so that a professional process modeller, without deep programming knowledge, can build processes that use sensors and actuators.
The answer is a set of extensions called the IoT-aware Process Modelling Concept, shortened to IAPMC in most of the text and IAPM in the summary.
How the argument is built
The 97 pages follow a design science method with six iterative steps: identification, definition, design, demonstration, evaluation and communication. The authors say openly that the first three were completed in this iteration, while evaluation and communication were only partly covered because they depend on a demonstration still to come.
Chapter 2 surveys process modelling: BPMN, UML activity diagrams, event-driven process chains, WS-BPEL and XPDL, with a short history. Chapter 3 collects requirements in three groups (general notation aspects, IoT-specific aspects and process editor aspects), using the requirements method of the project’s WP6, then scores existing notations and three open-source tools against them: Activiti, Bonita Open Solution and jBPM. BPMN 2.0 came out as the most IoT-aware notation and the Activiti Modeler as the most suitable editor to extend.
Chapter 4 sets out design principles. The main one is a three-phase model shared between WP2 and WP4: a process is designed, then resolved (abstract IoT tasks are bound to concrete services), then executed. Chapter 5 holds the concept itself, its formal metamodel, the mapping to BPMN 2.0 and the worked examples.
Eight weak points, seven new elements
The core of the deliverable is a diagnosis of where BPMN 2.0 falls short for the IoT. Eight weaknesses are named: no entity-based concept, no support for distributed execution across devices, missing ways to express device-to-entity and service-to-device interactions, central rather than distributed data, poor scalability when many entities and devices appear, no handling of mobile devices that disappear and come back, weak fault tolerance, and no notion of quality of information.
To answer them, the concept adds seven modelling elements. They include the IoT Activity with its sensing and actuation variants, the Physical Entity as a passive process participant, the Real World Data Object or Store for information that comes from the physical world, a Mobility Aspect for participants that move, and IoT Process Ratios that let a modeller say how many devices or entities a step involves. Process models are saved as BPMN 2.0 XML extended with these elements, which a resolution environment completes and an execution engine then runs directly, without first translating to BPEL.
The orchid process
The worked example in section 5.4.1 is the sensor-based quality control scene from the project’s retail use cases. Its pool has five participants. Four are devices in their own swim lanes, among them the temperature sensor, a smartphone belonging to a person called Ted, the backend system and the shelf label. The orchid itself has a collapsed pool, because a physical entity carries no process steps. A sensing task turns air temperature into a real-world data object, and an actuation task turns a computed price into numbers on the shelf label. Because Ted’s phone is mobile, the whole process carries a mobility marker. The same scene fed the retail business case in D1.3, and a version of Ted with his orchids later became the recurring example of the final reference model.
What followed, and who should read it now
The outlook names next steps: a modelling tool as part of D2.4, a first release expected by month 20, and an execution engine by month 30. It also says the concept would be transferred to work package 3 of the FI-WARE project, and that SAP had opened internal contact with teams working on BPMN 2.0 standardisation with the OMG, with standardising the extensions as a long-term goal. In the reference architecture the same ideas appear as the IoT Business Process Management functionality group, and the design-choice tables recommend modelling processes in BPMN 2.0.
For readers today, D2.2 is a clear early treatment of a problem that has not gone away: how to make sensing and actuation first-class steps in business process models. It pairs naturally with D2.1 on service descriptions, since a process task can only be resolved to a service that is described well enough to be found.
The evaluation of existing notations had one surprising outcome. For abstraction, flexibility, event handling and real time, BPMN 2.0 needed no repair at all.