# US 2022/0291939 A1 · Systems and methods for executing a process using a lightweight java workflow orchestration library and a graph data structure

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0291939 A1
- Document ID: US20220291939A1
- Status: Published application
- Kind: A1
- Application number: 17/198,067
- Filed: 2021-03-10
- Published: 2022-09-15
- Earliest claimed: 2021-03-10
- Assignees: JPMorgan Chase Bank, N.A.
- Applicants: Jpmorgan Chase Bank, N.A.
- Inventors: Lamar J. SMITH; Van Trinh NGUYEN; Christian MENDOZA; Michael LIPKIE; Troy W. EDDY
- Web page: https://patentgrep.com/patent/US20220291939A1

## CPC

- G06F 8/31: {Programming languages or programming paradigms}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 9/448: Execution paradigms, e.g. implementations of programming paradigms
- G06F 9/45508: {Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation}
- G06F 16/9024: {Graphs; Linked lists (G06F16/9027 takes precedence)}
- G06F 2009/45562: {Creating, deleting, cloning virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for executing a process may include: receiving a process comprising data to execute from a sub-system; identifying a process graph for the process to execute, the process graph comprising a plurality of nodes connected by edges, each of the plurality of nodes in the process graph represents a type of operation to perform, an identification of data input, and an address for a handler; retrieve the identified process graph from a process graph source; traverse the identified process graph to a first node; call a first handler identified by the first node with the data; receive a first result; select, based on the result, one of a plurality of edges from the first node to a second node; call a second handler identified by the second node with the first result and the data; receive a second result; and output the second result to the sub-system.

## Claims

### Claim 1

A computer-implemented method for executing a process using a process graph data structure, comprising:
receiving, at an orchestration computer program executed by at least one computer processor, a process comprising data to execute from a sub-system;
identifying, by the orchestration computer program, a process graph for the process to execute, the process graph comprising a plurality of nodes connected by edges, wherein each of the plurality of nodes in the process graph represents a type of operation to perform, an identification of data input for the operation, and an address for a handler to perform the operation;
retrieving, by the orchestration computer program, the identified process graph from a process graph source;
traversing, by the orchestration computer program, the identified process graph to a first node;
calling, by the orchestration computer program, a first handler identified by the first node with the data;
receiving, by the orchestration computer program and from the first handler, a first result;
selecting, based on the result, one of a plurality of edges from the first node to a second node;
calling, by the orchestration computer program, a second handler identified by the second node with the first result and the data;
receiving, by the orchestration computer program and from the second handler, a second result; and
outputting, by the orchestration computer program, the second result to the sub-system.

### Claim 2 (depends on 1)

The method of claim 1, wherein the sub-system comprises a terminal.

### Claim 3 (depends on 1)

The method of claim 1, wherein the address comprises a webserver address for the handler.

### Claim 4 (depends on 1)

The method of claim 1, wherein the address comprises a Kafka topic.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first result comprises a completion event.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
receiving, by the orchestration computer program, a trigger;
traversing, by the orchestration computer program, the process graph to a node comprising a trigger edge; and
traversing, by the orchestration computer program, the trigger edge to a third node that executes a trigger event for the trigger.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
persisting, by the orchestration computer program, a flag in response to receiving a trigger.

### Claim 8

A system for executing a process using a process graph data structure, comprising:
an orchestrator computer program executed by at least one computer program;
a plurality of handlers, each handler associated one of a plurality of operations; and
a process graph database comprising a plurality of process graphs, wherein each process graph comprises a plurality of nodes connected by edges, wherein each of the plurality of nodes in the process graph represents a type of operation to perform, an identification of data input for the operation, and an address for a handler to perform the operation;
wherein:
the orchestration computer program receives a process comprising data to execute from a sub-system;
the orchestration computer program identifies one of the plurality of process graph for the process to execute;
the orchestration computer program retrieves the identified process graph from a process graph source;
the orchestration computer program traverses the identified process graph to a first node;
the orchestration computer program calls a first handler identified by the first node with the data;
the orchestration computer program receives a first result from the first handler;
the orchestration computer program selects one of a plurality of edges from the first node to a second node based on the result;
the orchestration computer program calls a second handler identified by the second node with the first result and the data;
the orchestration computer program receives a second result from the second handler; and
the orchestration computer program outputs the second result to the sub-system.

### Claim 9 (depends on 8)

The system of claim 8, wherein the sub-system comprises a terminal.

### Claim 10 (depends on 8)

The system of claim 8, wherein the address comprises a webserver address for the handler.

### Claim 11 (depends on 8)

The system of claim 8, wherein the address comprises a Kafka topic.

### Claim 12 (depends on 8)

The system of claim 8, wherein the first result comprises a completion event.

### Claim 13 (depends on 8)

The system of claim 8, wherein the orchestration computer program is further configured to: receive a trigger; traverse the process graph to a node comprising a trigger edge; and traverse the trigger edge to a third node that executes a trigger event for the trigger.

### Claim 14 (depends on 13)

The system of claim 13, further comprising:
persisting, by the orchestration computer program, a flag in response to receiving a trigger.

### Claim 15

A non-transitory computer readable medium having stored thereon software instructions that, when executed by a processor, cause the processor to perform the following:
receive a process comprising data to execute from a sub-system;
identify a process graph for the process to execute, the process graph comprising a plurality of nodes connected by edges, wherein each of the plurality of nodes in the process graph represents a type of operation to perform, an identification of data input for the operation, and an address for a handler to perform the operation;
retrieve the identified process graph from a process graph source;
traverse the identified process graph to a first node;
call a first handler identified by the first node with the data;
receive a first result from the first handler;
select one of a plurality of edges from the first node to a second node based on the result;
call a second handler identified by the second node with the first result and the data;
receive a second result from the second handler; and
output the second result to the sub-system.

### Claim 16 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the address comprises a webserver address for the handler.

### Claim 17 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the address comprises a Kafka topic.

### Claim 18 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the first result comprises a completion event.

### Claim 19 (depends on 15)

The non-transitory computer readable medium of claim 15, further comprising software instructions that, when executed by a processor, cause the processor to perform the following:
receive a trigger;
traverse the process graph to a node comprising a trigger edge; and
traverse the trigger edge to a third node that executes a trigger event for the trigger.

### Claim 20 (depends on 19)

The non-transitory computer readable medium of claim 19, further comprising software instructions that, when executed by a processor, cause the processor to perform the following:
persist a flag in response to receiving a trigger.
