tab, you can define one or more process objects for a service connector to group data and create a structured object. When defined in the service connector, the process objects are available to
processes
that use the service connector. If, for example, a service returns demographic information such as name, address, and phone number, you might create a single Demographic process object that contains this information.
You can associate each process object with one or more of the data elements returned by the service using the
Actions/Output
tab.
To create service connector process objects, perform the following steps:
Create or open an existing service connector.
Click the
Process Objects
tab.
Click the
+
sign to add a new process object or select an existing process object from the list. Each process object appears as a line item on the tab.
On the
Properties
tab, specify the following details for each process object:
Name
. Enter a process object name that identifies the process object. This name appears in the lists where the process object is available for selection. The name must start with a letter, and can contain only alphanumeric characters, underscores (_), and hyphens (-). This is a required field.
Description
. Enter an optional description.
On the
Fields
tab, specify the following details for each process object:
Name
. Enter a name for each field in the process object.
Type
. Select the data type of the value being written to the variable using one of the built-in data types. If you select the Reference or Object List type, you can select a process object.
You can also set a list of simple type such as check box, date, date time, integer, number, text, or time for a process object field.
To set the type as a list of simple type, select the
Optionally, expand the row after you select a data type such as text, date, date time, time, number, or integer. You can enter the following values for each of the data types:
Character length and text format for the text data type
Date range for the date data type
Date time range for the date time data type
Time range for the time data type
Minimum and maximum values for the number data type
Minimum and maximum values for the integer data type
Required
. Select this check box to set the field as a required field.
A required field must be included in the request payload. It can contain a value, be empty, or be null.
Nullable
. Clear this check box if the field must not accept null values. By default, the
Nullable
check box is selected.
You can use inline type annotations for process objects and their nested objects that are created within a service connector. However, the process object type annotation is supported only in the service connector within which the process object was created.