Subscribe

The UiPath Marketplace Guide

Saved Search

The Saved Search activity uses the NetSuite getSavedSearch operation to retrieve the results of an existing saved search (Saved Search ID) for a specified record type (Record Type).

After retrieving the saved search, the activity outputs the search results in a DataTable object (Results) and the status of the request (success/failure information) in a ResponseStatus object (NetSuiteStatus).

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.

  1. Complete the Setup steps.
  2. Add the NetSuite Application Scope activity to your project.
  3. Add the Saved Search activity inside the NetSuite Application Scope activity.
  4. Enter values for the Input properties.
  5. Create and enter a DataTable variable and a ResponseStatus variable for the Output properties.
    • Your input property values are sent to the getSavedSearch operation.
    • The operation returns the DataTable and ResponseStatus value to your output property variables.

Properties

The values for the following properties are specified when adding this activity to your project in UiPath Studio.

Common

DisplayName

The display name of the activity.

Attributes

Details

Type

String

Required

Yes

Default value

Saved Search

Allowed values

Enter a String or String variable.

Notes

N/A


Input

Record Type

The type of NetSuite record that you want to delete.

Attributes

Details

Type

Drop-down list

Required

Yes

Default value

Empty

Allowed values

Select an item from the drop-down list.

Notes

N/A


Saved Search ID

The id of the saved search that you want to use.

Attributes

Details

Type

String

Required

Yes

Default value

Empty

Allowed values

Enter a String or String variable.

Notes

To get the Saved Search ID, you can use the NetSuite application UI by going to Lists > Search > Saved Searches. The saved search ID appears in the ID column.


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

Results

The results of the search.

Attributes

Details

Type

DataTable

Required

No (required if you want to use the output data in subsequent activities)

Default value

Empty

Allowed values

Enter a DataTable variable.

Notes

N/A

NetSuiteStatus

The status of the request (success/failure information).

Attributes

Details

Type

ResponseStatus

Required

No (required if you want to use the output data in subsequent activities)

Default value

Empty

Allowed values

Enter a ResponseStatus variable.

UiPath.BAF.Models.ResponseStatus

Notes

The ResponseStatus object includes three properties that you can use in other activities.
Success - Boolean - Specifies whether the request was successful.
ErrorCode - String - The response error if the request is unsuccessful (Success=False).
Message - String - The error message.
The example image below shows some of the properties that you can return.


Example

The following image shows an example of the activity dependency relationship and input/output property values.

Updated 6 months ago


Saved Search


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.