订阅

UiPath 活动

UiPath 活动指南

Initialize Record

UiPath.OracleNetSuite.Activities.InitializeRecord

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.

  1. Complete the Setup steps.
  2. Add the NetSuite Application Scope activity to your project.
  3. Add the Initialize Record activity inside the NetSuite Application Scope activity.
  4. Click the Configure button inside the Initialize Record activity. This allows you to set the input parameters.
  5. Select the Record Type of the record type you want the initialization to create.
  6. Select the Reference Type of the record type you want to initialize.
  7. Enter the Reference Id for the internalid of the reference record that will be initialized.
  8. Create and enter a Record variable that will contain the newly created record.
  9. Create and enter a ResponseStatus variable for the Output property.

In the Body of the Activity

To enter your Initialize Record property values, you must use the Input Dialog by clicking the Configure button.

  • 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.

属性

Common

  • DisplayName - The display name of the activity. This field supports only Strings or String variables.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

Output

  • Record - The initialized record as returned by NetSuite. Enter a Record variable (UiPath.OracleNetSuite.Com.netsuite.webservices.Record). The Record object is not saved by default but is the output of a the initialization transformation. Use the Insert Record activity to save this record with any additional fields that need to be set.
  • ResponseStatus - The status of the request (success/failure information). Enter a ResponseStatus variable (UiPath.BAF.Models.ResponseStatus). The ResponseStatus object 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.

示例

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

Updated about a month ago


Initialize Record


建议的编辑仅限用于 API 参考页面

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