HomeGuidesRecipesAPI
HomeGuidesAPILog In

Data Store Delete Selected Rows

The Data Store Delete Selected Rows Action provides a way to delete selected rows of a SmartIQ Custom Data Object. When run, the action will delete the selected rows from view immediately, and will permanently remove the data 30 days later.

Usage

This action is similar to the Delete button in a Modal Project, if the Delete task has been enabled. The main difference is that the Delete button can only delete one item at a time while the Data Store Delete Selected Rows Action can delete several at the same time.

Additionally, because Data Store Delete Selected Rows Action is a destructive action, SmartIQ has built in some precautionary measures like Undo, accessible within the Management Console, and the Test input Mode.

Use a runtime action like Display Message action to show how many rows would have been deleted in Test Mode. Without this, the only indication that the Data Store Delete Selected Rows Action has worked is the Completed Status in the Management Console.

InputDescription
Data Object ObjectID (Required)This should always select the ObjectID field. The 'Answer Value' option should be selected for the Action Input Type.
ModeThere are two mode values available. Both Test and Delete should always be paired with Data Object ObjectID, otherwise the action will fail.
  • Test - Test Mode provides a way to test the action but will not actually delete the selected data.
  • Delete – Delete Mode provides informational value that shows that this action will delete the selected rows.