How to make delete record from Database in omniscript

  1. Create Omniscript:
    • Start by creating a new Omniscript in your development environment.
    • Drag and drop a Text field and Name field = “Name”.
    • Creat a Turbo Extract DataRaptor.

Drag DataRaptor Turbo Action

  1. Drag the “DataRaptor Turbo Action” component onto the canvas.
  2. Click on the “DataRaptor Interface” within the Turbo Action to configure it.
  3. Choose the appropriate “Turbo Extract” for your operation. This is the data extraction process that the Turbo Action will perform.
  4. Fill in the input parameters as indicated or specified in the image or documentation.
  1. In your development environment or interface builder, add the “DeleteAction” component to your workflow.
  2. Inside the “DeleteAction,” locate the option to “Add SObject To Delete.”
  3. Specify the object type for deletion:
    • Set the “Type” to “Account” to indicate that you want to delete an Account record.
  4. Define the record to delete:
    • Set the “Path to Id” parameter to %Account:ID%.
      • This dynamic reference (%Account:ID%) ensures that the specific Account record’s ID is used at runtime.
  5. Save your configuration.
  1. Navigate to the “Active Version” of your Omniscript or relevant interface.
  2. Click on the “Preview” button to simulate the execution of the Omniscript.
  3. In the preview mode, locate the “Name” field.
  4. Use the “Name” field to search for the specific record you want to delete.
  5. Once the record is displayed, find and click on the “DataRaptorTurboAction.”
  6. Inside the “DataRaptorTurboAction,” locate and click on the “DeleteAction” to initiate the record deletion.
Scroll to Top