The Insert Record activity uses the the SOAP add operation to insert a new record object.
After inserting the record, the activity outputs the status of the request (success/failure information) in a Status
object (NetSuiteStatus) that you can use in subsequent activities (e.g., conditional logic).
This activity also returns the internalid value of the new record object. For example, if you want to insert a NetSuite Employee object, you can output the internalId value by adding a String
variable in the object wizard (see example below).
How it works
The following steps and message sequence diagram is an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.
- Complete the Setup steps.
- Add the NetSuite Application Scope activity to your project.
- Add the Insert Record activity inside the netsuite Scope activity.
- Click the Configure button inside the Insert Record activity (this opens the Object Wizard).
- Select the Object you want to insert and add the fields (with values) you want to populate.
- Create and enter a
ResponseStatus
variable for the Output property.- Your input property values are sent to the add operation.
- The operation returns the
ResponseStatus
value to your output property variable.


Properties
The values for the following properties are specified when adding this activity to your project in UiPath Studio.
Configure
To enter your Insert NetSuite Record property values, you must use the Object Wizard by clicking the Configure button.
To learn more, see the Wizards section in the About page.
Common
DisplayName
The display name of the activity.
Attributes | Details |
---|---|
Type |
|
Required | Yes |
Default value | Insert Record |
Allowed values | Enter a |
Notes | N/A |
Object wizard
Select Object
The type of object that you want to insert.
Attributes | Details |
---|---|
Type | Drop-down list |
Required | No |
Default value | Empty |
Allowed values | Select an item from the drop-down list. |
Notes | N/A |
internalid
The id of the NetSuite record that gets created.
Attributes | Details |
---|---|
Type |
|
Required | No |
Default value | Empty |
Allowed values | Enter a |
Notes | The internalid is auto-generated by NetSuite when you insert your new record. To retrieve this value for use in other activities, create and enter a |
Input
AdditionalFields
A DataRow
that includes the columns and values that you want to insert.
Attributes | Details |
---|---|
Type |
|
Required | No |
Default value | Empty |
Allowed values | Enter a |
Notes | The column names must match the names as they appear in the NetSuite database table for the record type. |
Misc
Private
If selected, the values of variables and arguments are no longer logged at Verbose level.
Attributes | Details |
---|---|
Type | Checkbox |
Required | No |
Default value | Not Selected |
Allowed values | Selected or Not Selected |
Notes | N/A |
Output
NetSuiteStatus
The status of the request (success/failure information).
Attributes | Details |
---|---|
Type |
|
Required | No (required if you want to use the output data in subsequent activities) |
Default value | Empty |
Allowed values | Enter a UiPath.BAF.Models.ResponseStatus |
Notes | The |
Example
The following image shows an example of the activity dependency relationship and input/output property values.
Updated 6 months ago