CPC H04L 67/51 (2022.05) [G06F 16/9024 (2019.01); H04L 67/142 (2013.01); H04L 67/55 (2022.05); H04L 67/562 (2022.05)] | 20 Claims |
1. A system for integrating external services into process workflow environments, the system comprising:
a processor; and
a memory coupled to the processor, the memory storing computer executable instructions that when executed by the processor cause the processor to:
enable at least one external microservice to connect to an internal domain of an enterprise system via a software interface to permit messages to cross between a platform of the enterprise system that provides the internal domain, and an external domain separate and external to the platform, via the software interface, during execution of a process workflow;
detect an incoming message at the software interface, the incoming message being associated with execution of the process workflow executed within the internal domain of the enterprise system, the incoming message provided by a first of the at least one external microservice in the external domain;
determine a first internal topic of one or more internal topics in the internal domain to which the incoming message is to be routed from the external domain, wherein the first internal topic is determined from a notation in the incoming message identifying topic, subprocess, and record identifier for routing the incoming message; and wherein each of the one or more internal topics corresponds to a service task in a state of the process workflow;
publish the incoming message to the first internal topic to notify subscribers of the first internal topic of the incoming message;
obtain a data object for the process workflow and determine one or more next tasks in the process workflow;
update the data object based on the one or more next tasks or a current task in the process workflow;
detect an outgoing message comprising the updated data object, the outgoing message comprising a corresponding service task to be performed by the first of the at least one external microservice, the outgoing message corresponding to a first external topic associated with the outgoing message and comprising the notation utilized by the first internal topic;
publish the outgoing message to the first external topic to enable the first of the at least one external microservice to obtain the outgoing message comprising the updated data object via the software interface by having subscribed to the first external topic; and
instruct a workflow state change of the process workflow to be updated.
|