# US 2017/0255886 A1 · Workflow execution

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

- Number: US 2017/0255886 A1
- Document ID: US20170255886A1
- Status: Published application
- Kind: A1
- Application number: 15/060,091
- Filed: 2016-03-03
- Published: 2017-09-07
- Earliest claimed: 2016-03-03
- Assignees: Hewlett-Packard Development Company, L.P.
- Applicants: Hewlett-Packard Development Company, L.P.
- Inventors: Adler Schmidt; Alessandro Carlos Hunhoff; Ricardo Miotto Redin; Jair F. Teixeira Dos Santos; Fabio Juliano Feltraco; Felipe Moroni Brandalise
- Web page: https://patentgrep.com/patent/US20170255886A1

## CPC

- G06Q 10/0633: Workflow analysis
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

Example implementations relate to workflow execution. For example, workflow execution may include identifying a plurality of steps of a workflow and a plurality of dependencies corresponding to the plurality of steps, constructing an execution graph for the plurality of workflow steps based on the plurality of dependencies, and executing a plurality of worker executors in a container based on the execution graph, wherein each of the plurality of worker executors are instantiated based on a reference to a worker actor in a bundle registered in a worker repository of the container and wherein each of the plurality of worker executors executes a workflow step of the plurality of workflow steps.

## Claims

### Claim 1

A workflow execution system, comprising:
a workflow step engine to identify a plurality of steps of a workflow and a plurality of dependencies corresponding to the plurality of steps;
an execution graph engine to construct an execution graph for he plurality of workflow steps based on the plurality of dependencies; and
a worker executor engine to execute a plurality of worker executors in a container based on the execution graph, wherein each of the plurality of worker executors are instantiated based on a reference to a worker actor in a bundle registered in a worker repository of the container and wherein each of the plurality of worker executors executes a workflow step of the plurality of workflow steps.

### Claim 2 (depends on 1)

The system of claim 1, further comprising the worker executor engine to detect and log an error message from the worker executor and perform a system recovery.

### Claim 3 (depends on 1)

The system of claim 1, wherein the bundle comprises a modular swappable version-based functional bundle.

### Claim 4 (depends on 1)

The system of claim 1, wherein the worker actor comprises an actor including an Erlang-based instruction set executable in a distributed cloud environment.

### Claim 5 (depends on 1)

The system of claim 1, further comprising the worker executor engine to execute the plurality of worker executors in the container in a sequence with a first portion of the plurality of worker executors executing after a second portion of the plurality of worker executors wherein the first portion depends on an output from the second portion.

### Claim 6 (depends on 1)

The system of claim 1, further comprising the worker executor engine to execute a portion of the plurality of worker executors in the container in parallel wherein the portion of the plurality of worker executors execute independent of inputs from other worker executors.

### Claim 7 (depends on 1)

The system of claim 1, wherein the manifest file comprises metadata including an application version, a worker actor activator, and a dependency associated with the bundle.

### Claim 8

A non-transitory computer-readable medium containing instructions executable by a processor to cause the processor to:
register a bundle in a worker repository, wherein the first bundle includes a manifest file, a worker actor that provides a modular functionality, and an actor interface referencing the worker actor;
construct an execution graph for a plurality of steps of a workflow based on dependencies of the plurality of steps, wherein a step of the plurality of steps is associated with the modular functionality;
request a reference to the worker actor from the worker repository; and
instantiate a worker executor for the worker actor based on the execution graph.

### Claim 9 (depends on 8)

The non-transitory computer-readable medium of claim 8, wherein the first bundle comprises a Java Archive (JAR) file received at a hypertext transfer protocol (HTTP) representational state transfer application program interface (API).

### Claim 10 (depends on 8)

The non-transitory computer-readable medium of claim 8, including instructions executable by the processor to register the bundle responsive to detecting the bundle in a worker installation queue of a non-relational NoSQL database enforcing a key, value data structure without a relational data enforcement.

### Claim 11 (depends on 8)

The non- transitory computer-readable medium of claim 8, wherein the bundle is made available for reference in a future workflow.

### Claim 12

A method of workflow execution, comprising:
identifying a plurality of steps of a workflow and a dependency associated with each step of the plurality of steps from a workflow declaration;
constructing an execution graph for the plurality of steps of the workflow based on the dependency associated with each particular step of the plurality of steps of the workflow; and
instantiating, according to the execution graph, a plurality of worker executors from a corresponding plurality of worker actors each in a bundle registered in a worker repository of a swappable version-based container.

### Claim 13 (depends on 12)

The method of claim 12, wherein a particular worker actor implements a function to perform a portion of a particular step of the plurality of steps of the workflow when executed.

### Claim 14 (depends on 12)

The method of claim 12, wherein instantiating the plurality of worker executors includes enforcing message-based and asynchronous concurrency between the plurality of worker executors.

### Claim 15 (depends on 12)

The method of claim 12, wherein instantiating the plurality of workers includes arranging the plurality of workers hierarchically with parental supervision of exception handling and system restoration.
