Initiate Subprocess (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 can start a subprocess.

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 Initiate Subprocess
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 |
|
Initiate Subprocess 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 |
|
Initiate Subprocess Configuration > REST Service > Advanced REST Configuration screen
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 |
|
Initiate Subprocess Configuration > REST Service > Plain Header screen
Configures the name and value to add in the Header and RunTime Value field.

Initiate Subprocess 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 |
|
Initiate Subprocess 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 |
|
Initiate Subprocess 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 |
|
Initiate Subprocess Configuration > REST Service > Request Configuration screen
Configures the request payload for the REST method call.

Fields
| Field Name | Definition |
|---|---|
|
Payload |
|
Initiate Subprocess 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 |
|
Initiate Subprocess 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 |
|
Initiate Subprocess 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 |
|
Initiate Subprocess Configuration > Triggering Event tab

Fields
| Field Name | Definition |
|---|---|
|
Activity | |
Set Trigger Condition |
|
Initiate Subprocess Configuration > Triggering Event > Set Trigger Condition screen
Specifies the conditions that cause to execute the REST method.

Fields
| Field Name | Definition |
|---|---|
|
Rule Type |
|
Rule Name | |
|
Edit |
|
|
Delete |
|
Initiate Subprocess 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 |
|
Initiate Subprocess 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) |
Initiate Subprocess 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 |
|
Initiate Subprocess Configuration > Parsing > Inline Functions screen
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 |
|
Initiate Subprocess 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 |
|
Initiate Subprocess Configuration > Actions tab
Specifies a subprocess to start when the specified conditions occur in the REST method execution.

Fields
| Field Name | Definition |
|---|---|
|
Ellipses |
|
Set Action Trigger Condition |
|
|
Save Error Message In This Variable (String) | |
Suspend Process Instance If Exception Occurs |
|
Enable Debug |
|
Initiate Subprocess Configuration > Actions > Mapping Variables screen
Specifies how to map variables in a subprocess.

Fields
| Field Name | Definition |
|---|---|
|
Share All Variables (Basic) / Copy All Variables (Advanced) / Map Specific Variables (Advanced) |
|
Initiate Subprocess Configuration > Actions > Initial Attributes screen
Specifies a set of process variables to pass to a subprocess. You can share the parent process's variables with the subprocess if the subprocess uses the same data.
The subprocess can have its own data only within the subprocess, or it can share its data with the parent process. For example, a subprocess can access the data of the parent process, such as the reviewer name and review completion date.

Fields
| Field Name | Definition |
|---|---|
|
Attribute | |
|
Value |
|
|
Add |
|
|
Delete |
|
Initiate Subprocess Configuration > Actions > Set Action Trigger Condition screen
Specifies the conditions to start a subprocess in AgilePoint NX.

Fields
| Field Name | Definition |
|---|---|
|
Rule Type |
|
Rule Name | |
|
Edit |
|
|
Delete |
|
Initiate Subprocess Configuration > Actions > 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 |
|



