# US 2022/0035638 A1 · Task execution

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

- Number: US 2022/0035638 A1
- Document ID: US20220035638A1
- Status: Published application
- Kind: A1
- Application number: 16/943,641
- Filed: 2020-07-30
- Published: 2022-02-03
- Earliest claimed: 2020-07-30
- Assignees: Fujitsu Limited
- Applicants: Fujitsu Limited
- Inventors: Mehdi BAHRAMI; Wei-Peng CHEN; Oussama CHAFIQUI; Nithya KUCHADI
- Web page: https://patentgrep.com/patent/US20220035638A1

## CPC

- G06F 9/4488: {Object-oriented}
- G06F 21/31: User authentication
- G06F 9/445: Program loading or initiating (bootstrapping G06F9/4401; security arrangements for program loading or initiating G06F21/57)
- G06F 9/54: Interprogram communication
- G06F 9/548: {Object oriented; Remote method invocation [RMI] (non-remote method invocation G06F9/449)}
- G06F 16/9538: Presentation of query results
- G06F 21/128: {involving web programs, i.e. using technology especially used in internet, generally interacting with a web browser, e.g. hypertext markup language [HTML], applets, java}
- G06F 21/33: using certificates
- G06F 21/44: Program or device authentication
- G06F 8/30: Creation or generation of source code
- G06F 8/60: Software deployment
- G06F 2221/2137: Time limited access, e.g. to a computer or data
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method may include receiving a selection of a task object for execution, the task object related to an application programming interface (API), determining whether the task object includes a placeholder value in the task object, and based on the task object including a placeholder value, producing an interface via which a user submits user input related to the placeholder value as described in the task object. The method may also include replacing the placeholder value with a new value that is based on the user input received via the interface, and generating an API call to the API in a target programming language, where the API call includes the new value. The method may also include deploying the generated API call on a target platform for execution, and obtaining results of the API call.

## Claims

### Claim 1

A method comprising:
receiving a selection of a task object for execution, the task object related to an application programming interface (API);
determining whether the task object includes a placeholder value in the task object;
based on the task object including a placeholder value, producing an interface via which a user submits user input related to the placeholder value as described in the task object ;
replacing the placeholder value with a new value, the new value based on the user input received via the interface;
generating an application programming interface (API) call to the API in a target programming language, the API call including the new value;
deploying the generated API call on a target platform for execution; and
obtaining results of the API call.

### Claim 2 (depends on 1)

The method of claim 1, wherein producing the interface includes presenting the user with an authorization web interface of a third party via which the user inputs credentials to authenticate the user with the third party.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
receiving a second selection of a second task object for execution;
determining whether the second task object includes any placeholder values; and
based on the second task object not including any placeholder values, generating a second API call associated with the second task object without user input.

### Claim 4 (depends on 1)

The method of claim 1, wherein generating the API call and deploying the generated API call on the target platform includes executing the generated API call on a local system, comprising:
producing final task content based on an array of parameters of the task object, a first element of array of parameters including the replaced value related to the user input;
selecting the target programming language in which to execute the API call;
identifying a type of hypertext transfer protocol (HTTP) request;
obtaining source code in the target programming language for invoking the HTTP request; and
posting the HTTP request using the obtained source code and one or more elements of the array of parameters.

### Claim 5 (depends on 1)

The method of claim 1, wherein generating the API call and deploying the generated API call on the target platform includes causing the generated API call to be executed on a cloud-based computing system, the method further comprising:
invoking a second API call to interact with the cloud-based computing system, the API call generating a web form to implement the interface; and
causing the cloud-based computing system to execute the API call within an environment of the cloud-based computing system rather than a local computing device.

### Claim 6 (depends on 1)

The method of claim 1, wherein the placeholder value is a token placeholder related to accessing the API.

### Claim 7 (depends on 6)

The method of claim 6, wherein the token placeholder includes an API token and the task object includes programming that, when executing the task object, utilizes the API token to access the API.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
determining whether the API token is expired; and
based on the API token being expired, refreshing the API token based on the user input.

### Claim 9 (depends on 8)

The method of claim 8, further comprising executing a second task object to invoke a second API utilizing the API token used in the task object, the API token specific to the user.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
based on receiving an API response based on a successful execution of the task object, annotating the task object in a database of tasks as verified; and
providing a visual indicator for the task object indicating that it is verified.

### Claim 11 (depends on 1)

The method of claim 1, further comprising providing a search interface via which task objects are searchable; and
receiving a query from the user; and
returning results of the query, the task object included in the results of the query.

### Claim 12

A system comprising:
one or more processors; and
one or more non-transitory computer-readable media containing instructions which, when executed by the one or more processors, cause the system to perform operations, the operations comprising:
receiving a selection of a task object for execution, the task object related to an application programming interface (API);
determining whether the task object includes a placeholder value in the task object;
based on the task object including a placeholder value, producing an interface via which a user submits user input related to the placeholder value as described in the task object ;
replacing the placeholder value with a value related to the user input received via the interface;
generating an application programming interface (API) call to the API in a target programming language, the API call including the value related to the user input;
deploying the generated API call on a target platform for execution; and
obtaining results of the API call.

### Claim 13 (depends on 12)

The system of claim 12, wherein producing the interface includes presenting the user with an authorization web interface of a third party via which the user inputs credentials to authenticate the user with the third party.

### Claim 14 (depends on 12)

The system of claim 12, wherein the operations further comprise:
receiving a second selection of a second task object for execution;
determining whether the second task object includes any placeholder values; and
based on the second task object not including any placeholder values, generating a second API call associated with the second task object without user input.

### Claim 15 (depends on 12)

The system of claim 12, wherein generating the API call and deploying the generated API call on the target platform includes executing the generated API call on the system, comprising:
producing final task content based on an array of parameters of the task object, a first element of array of parameters including the replaced value related to the user input;
selecting the target programming language in which to execute the API call;
identifying a type of hypertext transfer protocol (HTTP) request;
obtaining source code in the target programming language for invoking the HTTP request; and
posting the http request using the obtained source code and one or more elements of the array of parameters.

### Claim 16 (depends on 12)

The system of claim 12, wherein generating the API call and deploying the generated API call on the target platform includes causing the generated API call to be executed on a cloud-based computing system, wherein the operations further comprise:
invoking a second API call to interact with the cloud-based computing system, the API call generating a web form to implement the interface; and
causing the cloud-based computing system to execute the API call within an environment of the cloud-based computing system rather than a local computing device.

### Claim 17 (depends on 12)

The system of claim 12, wherein the placeholder value includes an API token and the task object includes programming that, when executing the task object, utilizes the API token to access the API.

### Claim 18 (depends on 17)

The system of claim 17, wherein the operations further comprise:
determining whether the API token is expired; and
based on the API token being expired, refreshing the API token based on the user input.

### Claim 19 (depends on 18)

The system of claim 18, wherein the operations further comprise executing a second task object to invoke a second API utilizing the API token used in the task object, the API token specific to the user.

### Claim 20 (depends on 12)

The system of claim 12, wherein the operations further comprise:
based on receiving an API response based on a successful execution of the task object, annotating the task object in a database of tasks as verified; and
providing a visual indicator for the task object indicating that it is verified.
