time and resources needed to compute a new set of
solutions for the current state of the world, extracting
goals, defining the supporting organization and inject-
ing that in the running system (not trivial with the se-
lected JaCaMo framework). If no grounding config-
uration will be able to conclude the execution, a new
iteration will start from the calculation of a new set of
solutions with the PMR algorithm.
Indeed, there is also another optimisation possi-
bility we did not consider in this paper. The PMR al-
gorithm is usually perpetually run if new capabilities
are registered in the yellow pages or new agents enter
the system and could produce new solutions. The new
solutions could be better than the previous ones. Fur-
ther development of the proposed approach will con-
sider them, thus allowing their introduction during the
adaptation phase.
6 CONCLUSIONS AND FUTURE
WORKS
This paper presented an approach for a runtime goal-
driven adaptation of MOISE organizations in the exe-
cution of BPMN processes. The approach is based
on: 1) automatic generation of goals from BPMN
and 2) mapping goals and service-oriented solutions
into different schemes of the agent organization that
can be selected according to performance criteria or
to overcome a failure. Goals may relax BPMN con-
straints, and the proposed approach has the advantage
of automatically defining alternative organizational
solutions (several schemes inside one organization)
for pursuing the goals underlying the input workflow
(manually created by a business analyst). As a mat-
ter of fact, the availability of different organization’s
schemes allows selecting the scheme (goal decompo-
sition tree and set of missions) that provides the best
performance, according to the quality attributes reg-
istered in the yellow pages. It also allows switching
from the current scheme to another one, in case of
agent/service failures (runtime adaptation feature).
Although the proposed approach produces effec-
tive results, it could be improved in many ways. For
instance, agent roles may be optimized in number and
specialization. So far, different roles are defined for
different capabilities even when they have the same
pre- and post-conditions but different name. Future
works may propose some improvement on that.
As part of the future works (and limits of the cur-
rent work), we also would like to note that a few el-
ements of the BPMN metamodel have been omitted
in Fig. 4 for simplicity. While this is not relevant for
most of them, we consider the sub-process a signifi-
cant element that could lead to interesting extensions
to the proposed approach. In fact, dealing with that
as a kind of process in the process (as it is indeed),
the result could bring to the design of organizations
conceived to act within other higher-level (or lower-
level) ones in a kind of hierarchy that may resemble
a holarchy and some methodological issue may arise
from that (Cossentino et al., 2010).
REFERENCES
Abeywickrama, D. B., Bicocchi, N., and Zambonelli, F.
(2012). Sota: Towards a general model for self-
adaptive systems. In Enabling Technologies: In-
frastructure for Collaborative Enterprises (WETICE),
2012 IEEE 21st International Workshop on, pages 48–
53. IEEE.
Adamo, G., Borgo, S., Di Francescomarino, C., Ghidini,
C., and Guarino, N. (2018). On the notion of goal in
business process models. In International Conference
of the Italian Association for Artificial Intelligence,
pages 139–151. Springer.
Andrews, T., Curbera, F., Dholakia, H., Goland, Y., Klein,
J., Leymann, F., Liu, K., Roller, D., Smith, D., Thatte,
S., et al. (2003). Business process execution language
for web services.
Bordini, R. H., H
¨
ubner, J. F., and Wooldridge, M. (2007).
Programming multi-agent systems in AgentSpeak us-
ing Jason, volume 8. John Wiley & Sons.
Bresciani, P., Perini, A., Giorgini, P., Giunchiglia, F., and
Mylopoulos, J. (2004). Tropos: An agent-oriented
software development methodology. Autonomous
Agents and Multi-Agent Systems, 8(3):203–236.
Buhler, P. A. and Vidal, J. M. (2005). Towards adaptive
workflow enactment using multiagent systems. Infor-
mation technology and management, 6(1):61–87.
Ceri, S., Grefen, P., and Sanchez, G. (1997). Wide-a dis-
tributed architecture for workflow management. In
Research Issues in Data Engineering, 1997. Proceed-
ings. Seventh International Workshop on, pages 76–
79. IEEE.
Chinosi, M. and Trombetta, A. (2012). Bpmn: An intro-
duction to the standard. Computer Standards & Inter-
faces, 34(1):124–134.
Cossentino, M., Gaud, N., Hilaire, V., Galland, S.,
and Koukam, A. (2010). Aspecs: an agent-
oriented software process for engineering complex
systems. Autonomous Agents and Multi-Agent Sys-
tems, 20(2):260–304.
Cossentino, M., Lopes, S., and Sabatucci, L. (2020a). Goal-
driven adaptation of moise organizations for workflow
enactment. In Proc. of the 8th International Workshop
on Engineering Multi-Agent Systems (EMAS 2020),
National Research Council of Italy.
Cossentino, M., Lopes, S., and Sabatucci, L. (2020b). A
tool for the automatic generation of moise organisa-
tions from bpmn. In CEUR Workshop Proceedings of
Workshop “From Objects to Agents”, September 14–
16, 2020, Bologna, Italy.
Automatic Definition of MOISE Organizations for Adaptive Workflows
135