# US 2018/0321654 A1 · Flow Engine for Building Automated Flows Within a Cloud Based Developmental Platform

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

- Number: US 2018/0321654 A1
- Document ID: US20180321654A1
- Status: Published application
- Kind: A1
- Application number: 15/587,075
- Filed: 2017-05-04
- Published: 2018-11-08
- Earliest claimed: 2017-05-04
- Assignees: ServiceNow, Inc.
- Applicants: ServiceNow, Inc.
- Inventors: Christopher Tucker; Harry Thomas Nelson; Russell Samuel Sarbora
- Web page: https://patentgrep.com/patent/US20180321654A1

## CPC

- G05B 19/0426: {Programming the control sequence}
- G05B 19/048: Monitoring; Safety
- G06Q 10/0633: Workflow analysis
- H04L 67/00: Network arrangements or protocols for supporting network services or applications (user-to-user messaging H04L51/00; network arrangements, protocols or services for supporting real-time applications in data packet communications networks H04L65/00)
- G05B 2219/2642: Domotique, domestic, home control, automation, smart house
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)
- 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
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Creating and executing flow plans by performing at least the following: obtaining a run-time flow plan that comprises a trigger, a first operation, and a second operation, wherein the first operation precedes the second operation within the run-time flow plan and one or more input values of the second operation are linked to the first operation, determining whether one or more conditions of the trigger are met, execute the first operation based at least on the determination that the one or more conditions of the trigger are met, monitoring whether the second operation is ready for execution based at least on a determination that the one or more input values of a second action operation are ready, and executing the second action operation when the second action operation has been identified as ready for execution.

## Claims

### Claim 1

A system comprising:
a non-transitory memory; and
one or more hardware processors configured to read instructions from the non-transitory memory to cause the system to:
obtain a run-time flow plan that comprises a trigger, a first operation, and a second operation, wherein the first operation precedes the second operation within the run-time flow plan and one or more input values of the second operation are linked to the first operation;
determine whether one or more conditions of the trigger are met;
execute the first operation based at least on the determination that the one or more conditions of the trigger are met;
monitor whether the second operation is ready for execution based at least on a determination that the one or more input values of a second action operation are ready, wherein the one or more input values are ready after the completing the execution of the first operation; and
execute the second action operation when the second action operation has been identified as ready for execution.

### Claim 2 (depends on 1)

The system of claim 1, wherein the instructions further cause the system to:
receive an action flow plan that comprises a plurality of actions, where each action comprises an action step; and
convert the action flow plan into the run-time flow plan, wherein the one or more action steps are converted to one or more action step operations.

### Claim 3 (depends on 2)

The system of claim 2, wherein the first operation is one of the action step operations.

### Claim 4 (depends on 2)

The system of claim 2, wherein the action flow plan is represented as a data model within a configuration management database.

### Claim 5 (depends on 1)

The system of claim 1, wherein a global state is not used to monitor whether the second operation is ready for execution.

### Claim 6 (depends on 1)

The system of claim 1, wherein the instructions that cause the system to monitor whether the second operation is ready for execution comprise instructions that further cause the system to monitor whether the second operation is ready for execution based at least on a determination that the one or more input values of the second action operation are ready and a third operation within the run-time flow plan has completed execution.

### Claim 7 (depends on 1)

The system of claim 1, wherein the first operation is a first action start directive operation and the second operation is a second action start directive operation.

### Claim 8 (depends on 7)

The system of claim 7, wherein the instructions that cause the system to execute the second action operation further comprise instructions that cause the system to package a portion of the run-time flow plan and transmit the packaged portion of the run-time flow plan in an External Communication Channel queue message to a remote computing system.

### Claim 9 (depends on 8)

The system of claim 8, wherein the remote computing system is a management, instrumentation, and discovery server associated with a customer network.

### Claim 10 (depends on 1)

The system of claim 1, wherein the run-time flow plan further comprises a third operation that is linked to one or more output values of the second operation.

### Claim 11

A method comprising:
obtaining a run-time flow plan that comprises a trigger, a first operation, and a second operation, wherein the first operation precedes the second operation within the run-time flow plan and one or more input values of the second operation are linked to the first operation;
determining whether one or more conditions of the trigger are met;
executing the first operation based at least on the determination that the one or more conditions of the trigger are met;
monitoring whether the second operation is ready for execution based at least on a determination that the one or more input values of a second action operation are ready, wherein the one or more input values are ready after the completing the execution of the first operation; and
executing the second action operation when the second action operation has been identified as ready for execution.

### Claim 12 (depends on 11)

The method of claim 11, further comprising:
receiving an action flow plan that comprises a plurality of actions, where each action comprises an action step; and
converting the action flow plan into the run-time flow plan, wherein the one or more action steps are converted to one or more action step operations.

### Claim 13 (depends on 12)

The system of claim 12, wherein the action flow plan is represented as a data model within a configuration management database.

### Claim 14 (depends on 11)

The method of claim 11, wherein a global state is not used to monitor whether the second operation is ready for execution.

### Claim 15 (depends on 11)

The method of claim 11, wherein the first operation is a first action start directive operation and the second operation is a second action start directive operation.

### Claim 16 (depends on 15)

The method of claim 15, wherein executing the second action operation comprises:
packaging a portion of the run-time flow plan; and
transmitting the packaged portion of the run-time flow plan in an External Communication Channel queue message to a remote computing system.

### Claim 17 (depends on 11)

The method of claim 11, wherein the run-time flow plan further comprises a third operation that is linked to one or more output values of the second operation.

### Claim 18

A system comprising:
at least one user interface;
a non-transitory memory; and
one or more hardware processors configured to read instructions from the non-transitory memory to cause the system to perform operations comprising:
creating a trigger for an action flow plan that activates when one or more computing conditions are met;
defining a plurality of actions for the action flow plan that would execute after the trigger activates, wherein each of the plurality of actions comprises a respective sequence of action steps associated with respective inputs and outputs;
receiving from the at least one user interface an instruction to publish the action flow plan, and
calling a flow plan builder to convert the action flow plan into a run-time flow plan for execution.

### Claim 19 (depends on 18)

The system of claim 18, wherein action flow plan is represented as a data model on a configuration management database.

### Claim 20 (depends on 19)

The system of claim 19, wherein the instructions further cause the system to perform operations comprising reading, via an application program interface (API), the data model prior to calling the flow plan builder.
