US 11,720,415 B2
Management instrumentation and discovery (MID) server support for executing automated flows within a cloud based system
Venkata Kiran Kumar Koya, Poway, CA (US); Robert Peter-Paul Recatto, La Jolla, CA (US); Nicholas Michael Stark, San Diego, CA (US); and Harry Thomas Nelson, San Diego, CA (US)
Assigned to ServiceNow, Inc., Santa Clara, CA (US)
Filed by ServiceNow, Inc., Santa Clara, CA (US)
Filed on Aug. 31, 2020, as Appl. No. 17/7,249.
Application 17/007,249 is a continuation of application No. 15/939,587, filed on Mar. 29, 2018, granted, now 10,761,903.
Prior Publication US 2020/0401460 A1, Dec. 24, 2020
Int. Cl. G06F 9/50 (2006.01); G06F 9/48 (2006.01); H04L 67/63 (2022.01)
CPC G06F 9/5088 (2013.01) [G06F 9/4881 (2013.01); G06F 9/505 (2013.01); G06F 9/5044 (2013.01); G06F 9/5077 (2013.01); H04L 67/63 (2022.05)] 20 Claims
OG exemplary drawing
 
1. A system comprising:
one or more processors; and
a memory partition, accessible by the one or more processors, wherein the memory partition comprises instructions that, when executed by the one or more processors, cause the one or more processors to perform operations comprising:
obtaining, from an instance environment, a synchronous task flow definition comprising a plurality of operations representing at least a portion of a task defined by the synchronous task flow definition, wherein the plurality of operations comprises a first operation and a second operation configured to be executed in a single thread;
analyzing the plurality of operations to identify respective attributes for each of the plurality of operations to reduce or minimize a number of switches between a first execution environment and a second execution environment;
determining the first execution environment of a plurality of execution environments for executing the first operation of the plurality of operations, wherein the first execution environment comprises the instance environment;
executing the first operation in the first execution environment;
determining the second execution environment of the plurality of execution environments for executing the second operation of the plurality of operations, wherein the second execution environment comprises a server environment disposed in a customer private network and wherein the server environment is communicatively coupled to the instance environment; and
executing the second operation in the second execution environment.