The Get Record activity uses the the NetSuite get operation to retrieve a specific record (internalid).
After retrieving the record, the activity outputs the record details in a
DataRow object (Results) and the status of the request (success/failure information) in a
ResponseStatus object (NetSuiteStatus).
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 Get Record activity inside the NetSuite Application Scope activity.
- Click the Configure button inside the Get Record activity (this opens the Object Wizard).
- Select the Object that you want to retrieve and enter, at a minimum, the internalid of the record.
- Create and enter a
DataRowvariable and a
ResponseStatusvariable for the Output properties.
- Your input property values are sent to the get operation.
- The operation returns the
ResponseStatusvalue to your output property variables.
To enter your Get 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.
- Internalid - The internalid of the NetSuite record that you want to delete
The Record output parameter will return a generic NetSuite
Recordobject. You can convert this to a specific NetSuite object by using an Assign Activity.
For example if you were retrieving a SupportCase object and your output variable from the NetSuite Get Record activity was named RecordOuput , you would use the following as the (To) parameter of the Assign Activity:
- DisplayName - The display name of the activity. This field supports only
- Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
- ResponseStatus - The status of the request (success/failure information). Enter a
ResponseStatusvariable (UiPath.BAF.Models.ResponseStatus). The
ResponseStatusobject includes three properties that you can use in other activities.
- Success -
Boolean- Specifies whether the API request was successful.
- ErrorCode -
String- The response error if the API request is unsuccessful (Success=False).
- Message -
String- The error message.
- Success -
Updated about a month ago