Delete Dataset Record By Key Value
Properties
- Input
- Document Id
- Type:
int
- Description: The document ID of the dataset from which the record will be deleted. This is a required argument.
- Type:
- Parameter Definition Id
- Type:
int
- Description: The parameter definition ID of the dataset from which the record will be deleted. This is a required argument.
- Type:
- Key Value
- Type:
string
- Description: The key value of the record to be deleted. This is a required argument.
- Type:
- Document Id
Usage
- Setup Activity:
- Add the "Delete Dataset Record By Key Value" activity to your UiPath workflow.
- Configure the required input arguments:
- Document Id: Specify the document ID of the dataset.
- Parameter Definition Id: Specify the parameter definition ID of the dataset.
- Key Value: Provide the key value of the record to be deleted.
- Execution:
- The activity executes asynchronously, deleting the specified record from the dataset based on its key value.
- It uses the configured API context to perform the deletion via the dataset client.
- Output:
- The activity returns a
List<CustomDataSetRecord>
, which may represent the remaining records in the dataset or provide information related to the operation, depending on the implementation.
- The activity returns a
Considerations
- Data Integrity: Ensure that the document ID, parameter definition ID, and key value are valid and correctly specified to avoid errors during the deletion process.
- Permanent Deletion: Be aware that deleting a dataset record is usually irreversible. Confirm the action before proceeding.
- Permissions: Verify that the necessary permissions are in place for the user or application performing the deletion to prevent unauthorized actions.
- Error Handling: Implement error handling to manage potential issues such as network connectivity problems or invalid input data.