- 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
- Drag the “DataRaptor Turbo Action” component onto the canvas.
- Click on the “DataRaptor Interface” within the Turbo Action to configure it.
- Choose the appropriate “Turbo Extract” for your operation. This is the data extraction process that the Turbo Action will perform.
- Fill in the input parameters as indicated or specified in the image or documentation.
- In your development environment or interface builder, add the “DeleteAction” component to your workflow.
- Inside the “DeleteAction,” locate the option to “Add SObject To Delete.”
- Specify the object type for deletion:
- Set the “Type” to “Account” to indicate that you want to delete an Account record.
- 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.
- Set the “Path to Id” parameter to
- Save your configuration.
- Navigate to the “Active Version” of your Omniscript or relevant interface.
- Click on the “Preview” button to simulate the execution of the Omniscript.
- In the preview mode, locate the “Name” field.
- Use the “Name” field to search for the specific record you want to delete.
- Once the record is displayed, find and click on the “DataRaptorTurboAction.”
- Inside the “DataRaptorTurboAction,” locate and click on the “DeleteAction” to initiate the record deletion.