Invoke Agent (REST Service) Control Tower
An AI Control Tower that calls a REST method from an AgilePoint process.You can select and configure the method call by connecting to a REST service URI. Based on the response from the REST method, it invokes an AI agent.

Background and Setup
Examples
- (External) AgilePoint NX Connector For REST Service
- Examples - Step-by-step use case examples, information about what types of examples are provided in the AgilePoint NX Product Documentation, and other resources where you can find more examples.
Prerequisites
- AgilePoint NX OnDemand (public cloud), AgilePoint NX Private Cloud, or AgilePoint NX OnPremises v10.0 or higher.
Good to Know
- To send an email notification, click
Advanced
>
Email Notifications
. For more information, refer to Email Notifications screen (Process Activities).
- In most text fields, you can use process data variables as an alternative to literal data values.
For more information, refer to Data screen.
- You can configure whether this activity waits for other activities before it runs.
For more information, refer to How Do I Configure an Activity to Wait for Other Incoming Activities?
- This section shows the configuration settings on the configuration screens for this activity. Other configuration settings apply to system activities. For more information, refer to:
How to Start
- Open Process Builder.
For information about how to open this screen, refer to Process Builder.

- In Process Builder, in the Activity Library,
open the Web Services tab.

- On the Web Services tab,
click the Control Towers tab.

- On the Web Services tab,
click the Control Towers tab,
drag the Invoke Agent
activity onto your process.

General Configuration
Specifies the basic settings for the Control Tower.

Good to Know
- Documentation for this screen is provided for completeness. The fields are mostly self-explanatory.
Fields
| Field Name | Definition |
|---|---|
|
Display Name |
|
|
Description |
|
Invoke Agent Configuration > REST Service tab
Specifies the configuration for the REST service connection.

Fields
| Field Name | Definition |
|---|---|
|
REST Service |
|
|
Create |
|
|
Advanced Configuration |
|
|
Request Configuration |
|
|
Response Configuration |
|
Clone |
|
|
Edit |
|
|
Delete |
|
Invoke Agent Configuration > REST Service > Advanced REST Configuration
Specifies the advanced configuration options for your REST service connection.

Fields
| Field Name | Definition |
|---|---|
|
Request URL |
|
|
Action |
|
|
Content Type | |
|
Accept |
|
|
Protocol |
|
|
Request Timeout (Seconds) | |
|
Read/Write Timeout (Seconds) |
|
Continue Timeout (seconds) |
|
|
Header Information |
|
Create |
|
Delete |
|
|
Plain Header |
|
Authentication |
|
Invoke Agent Configuration > REST Service > Plain Header screen
Configures the name and value to add in the Header and RunTime Value field.

Invoke Agent Configuration > REST Service > Authentication > Basic Authentication tab
Creates authentication credentials to connect to a REST service URL with basic authentication.

Fields
| Field Name | Definition |
|---|---|
User Name |
|
Password |
|
Authorization |
|
Generate |
|
Insert |
|
Reset |
|
Invoke Agent Configuration > REST Service > Authentication > OAuth 2.0 tab
Creates authentication credentials to connect to a REST service URL with the OAuth 2.0 protocol.

Fields
| Field Name | Definition |
|---|---|
Token Type |
|
Token |
|
Invoke Agent Configuration > REST Service > Authentication > Windows Authentication tab
Creates authentication credentials to connect to a REST service URL with Windows Authentication (NTLM).

Fields
| Field Name | Definition |
|---|---|
Domain |
|
User Name |
|
Password |
|
Invoke Agent Configuration > REST Service > Request Configuration screen
Configures the request payload for the REST method call.

Fields
| Field Name | Definition |
|---|---|
|
Payload |
|
Invoke Agent Configuration > REST Service > Response Configuration screen
Configures the response settings for a REST method call.

Fields
| Field Name | Definition |
|---|---|
|
Response Status Code |
|
|
Error Response |
|
|
Save Response to Custom Attribute |
|
|
Map Response to Process Schema |
|
|
Header (Optional) |
|
|
Add Header |
|
|
Delete |
|
|
Payload |
|
|
Sample JSON/XML |
|
|
Map to Schema |
|
|
Simulate |
|
|
Ad Hoc Mapping |
|
Invoke Agent Configuration > REST Service > Simulate screen
Configures the response settings with a simulated REST method call.

Fields
| Field Name | Definition |
|---|---|
|
URL |
|
|
Action |
|
|
Header |
|
|
Request Body |
|
|
User Agent |
|
|
Simulate |
|
|
Save |
|
|
Response |
|
|
Header |
|
Invoke Agent Configuration > REST Service > Ad Hoc Mapping screen
Configures the response settings one at a time.

Fields
| Field Name | Definition |
|---|---|
|
Process Field |
|
|
Response Field XPath |
|
|
Add Response Field |
|
|
Remove Response Field |
|
Invoke Agent Configuration > Triggering Event tab
Invoke Agent Configuration > Triggering Event > Set Trigger Condition
Specifies the conditions that cause to execute the REST method.

Fields
| Field Name | Definition |
|---|---|
|
Rule Type |
|
Rule Name | |
|
Edit |
|
|
Delete |
|
Invoke Agent Configuration > Triggering Event > Condition Builder screen
Creates or changes logical rules. You can put one statement inside another statement to create complex logical expressions.

Fields
| Field Name | Definition | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
Condition Name |
| ||||||||||
|
Preview |
| ||||||||||
|
Validate |
| ||||||||||
|
Rule Variable |
| ||||||||||
|
Operator |
| ||||||||||
|
Rule Value |
| ||||||||||
|
Add Row |
| ||||||||||
Select Nest Type |
| ||||||||||
|
Indent Right |
| ||||||||||
|
Delete |
| ||||||||||
|
Back |
|
Invoke Agent Configuration > Parsing tab
Configures the parsing actions to extract the information from the executed REST method.

Fields
| Field Name | Definition |
|---|---|
|
Add Row |
|
|
Results | |
|
Settings |
|
|
On Fail |
|
|
Delete |
|
|
Edit |
|
|
Edit |
|
|
Edit |
|
|
Save Parsing Error Message In This Variable (String) |
Invoke Agent Configuration > Parsing > JSON Parsing screen
Configures the JSON code snippet for parsing the executed REST method.

Fields
| Field Name | Definition |
|---|---|
Skip JSON Parsing If Exception Occurs |
|
Invoke Agent Configuration > Parsing > Inline Functions
Configures one or more inline functions for parsing the executed REST method.

Fields
| Field Name | Definition |
|---|---|
Formula |
|
Inline Functions |
|
|
Description |
|
Skip Inline Function If Exception Occurs |
|
|
Apply |
|
Invoke Agent Configuration > Parsing > Regex Parsing screen
Configures a regular expression for parsing the executed REST method.

Fields
| Field Name | Definition |
|---|---|
|
Regex Syntax |
|
|
Perform Regex Match On This Text |
|
Skip Regex Parsing If Exception Occurs |
|
Invoke Agent Configuration > Actions tab
Specifies variables to store the status of the REST method and to store the error message if an error occurs in the REST method. It also configures what to do when an error occurs in the AgilePoint NX app.

Fields
| Field Name | Definition |
|---|---|
|
Save Error Message In This Variable (String) | |
Suspend Process Instance If Exception Occurs |
|
Enable Debug |
|


