The Initialize Record activity uses the the NetSuite initialize operation to update a specific record (internalid).
After initializing the record, the activity outputs the new record of the initialization in a Record
object (Record) that you can use in a subsequent activity. The status of the request and success/failure information will be set in a ResponseStatus
object (NetSuiteStatus) that you can use in subsequent activities (e.g., conditional logic).
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 Initialize Record activity inside the NetSuite Application Scope activity.
- Click the Configure button inside the Initialize Record activity. This allows you to set the input parameters.
- Select the Record Type of the record type you want the initialization to create.
- Select the Reference Type of the record type you want to initialize.
- Enter the Reference Id for the internalid of the reference record that will be initialized.
- Create an enter a
Record
variable that will contain the newly created record. - Create and enter a
ResponseStatus
variable for the Output property.


Properties
The values for the following properties are specified when adding this activity to your project in UiPath Studio.
Configure
To enter your Initialize Record property values, you must use the Input Dialog by clicking the Configure button.
Common
DisplayName
The display name of the activity.
Attributes | Details |
---|---|
Type |
|
Required | Yes |
Default value | Update Record |
Allowed values | Enter a |
Notes | N/A |
Input Dialog
RecordType
The record type to create and initialize.
ReferenceType
The record type from which to initialize the record.
ReferenceId (string)
The Id of the record from which to initialize.
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
Record
The initialized record as returned by NetSuite.
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.OracleNetSuite.Com.netsuite.webservices.Record |
Notes | The |
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