ORCHESTRATION OF CUSTOMER INTERACTION WORKFLOWS IN ENTERPRISE APPLICATIONS

Authors

DOI:

https://doi.org/10.20998/2079-0023.2024.02.16

Keywords:

workflow orchestration, event-driven approach, client interaction, asynchronous operations

Abstract

Process automation is an important factor in the development of modern corporate systems, in particular e-commerce systems. One of the tasks that must be solved during development of such systems is the orchestration of customer interaction processes, which are asynchronous in nature. Modern popular orchestration frameworks (Airflow for example), are not very well adapted to simultaneously waiting for a response from the client for a large number of workflows. This leads to unnecessary costs of computing resources and a decrease in the economic efficiency of the system. This paper considers the task of building a system for orchestrating customer interaction workflows based on an event-driven approach. Instead of a sequential-like centralized execution of the graph model of the workflow, it is proposed to present the workflow as a sequence of events and the system's reactions to them, which eliminates the need to explicitly wait for a response from the client. In such model workflow operations will be performed during event processing, and the transition to the next operation will occur by sending a new message with a description of the operation. Centralized and distributed approaches for performing transitions between workflow operations are considered, the advantages and disadvantages of each of them are shown. The implementation of waiting for client response is also considered, for which it is proposed to store the message tied to the client session identifier in a specialized storage before starting interaction with client. And after receiving data from the client, add them to the message and send it back to the message queue to continue the workflow. Taking into account the possibility of using handlers written in different programming languages, JSON format based description of workflow model is proposed to be used. One of the approaches to building model description format is described and its use for demonstrating example of a workflow. The results of the study can be useful when creating systems for orchestrating workflows of interaction with the client.

Author Biography

Viacheslav Kolbasin, National Technical University "Kharkiv Polytechnic Institute"

Candidate of Technical Sciences (PhD), Docent, Associate Professor at the Department of System Analysis and Information-Analytical Technologies, National Technical University «Kharkiv Polytechnic Institute»,
Kharkiv, Ukraine

References

Uzoka A., Cadet E. Ojukwu P.U. Leveraging AI-Powered chatbots to enhance customer service efficiency and future opportunities in automated support. Computer Science & IT Research Journal. 2024. Vol. 5(10). P. 2485–2510. DOI: 10.51594/csitrj.v5i10.1676.

Hsu C.-L., Lin J.C.-C. Understanding the user satisfaction and loyalty of customer service chatbots. Journal of Retailing and Consumer Services, Vol. 71, 103211. DOI: 10.1016/j.jretconser.2022.103211.

Ruiter J., Harenslak B. Data Pipelines with Apache Airflow. Manning, 2021. 480 p.

Sbarski P., Cui Y., Nair A. Serverless Architectures on AWS, Second Edition. Manning, 2022. 256 p.

Deferrable Operators & Triggers. URL: https://airflow.apache.org/ docs/apache-airflow/stable/authoring-and-scheduling/deferring.html (access date: 10.12.2024).

Hohpe G., Woolf B. Enterprise Integration Patterns: Designing, Building, and Deploying Messaging Solutions. Addison-Wesley, 2003. 736 p.

Stopford B. Designing Event-Driven Systems. O`Reilly Media Inc., 2018. 171 p.

Roy G. RabbitMQ in Depth. Manning, 2017. 264 p.

Shapira G, Palino T., Sivaram R., Petty K. Kafka: The Definitive Guide, 2nd Edition. O`Reilly Media Inc., 2021. 485 p.

Zhang C. Celery. A detailed guide on how Celery asynchronous task queue works. URL: https://python.plainenglish.io/asynchronous-task-queuing-with-celery-d9709364e686. (access date: 10.12.2024).

Custom Message Consumers. Celery documentation. URL: https://docs.celeryq.dev/en/latest/userguide/extending.html#custom-message-consumers. (access date: 10.12.2024)

Bray T. The JavaScript Object Notation (JSON) Data Interchange Format. IETF, 2017. DOI: doi:10.17487/RFC8259.

Published

2025-01-04

How to Cite

Kolbasin, V. (2025). ORCHESTRATION OF CUSTOMER INTERACTION WORKFLOWS IN ENTERPRISE APPLICATIONS. Bulletin of National Technical University "KhPI". Series: System Analysis, Control and Information Technologies, (2 (12), 104–107. https://doi.org/10.20998/2079-0023.2024.02.16

Issue

Section

INFORMATION TECHNOLOGY