Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The "SharpenDB DELETE" panel is a powerful tool designed for users to execute DELETE queries on custom tables and data within SharpenDB. This feature allows users to effectively manage and remove outdated or unnecessary records, ensuring the integrity and relevance of their data. By utilizing this functionality, users can make informed decisions and maintain a streamlined database, ultimately enhancing the customer experience with up-to-date and engaging content.

Info

Relevant information for configuring this panel can be found using Sharpen's public API documentation for SharpenDB. Your relevant isolation zone link IZ0 or IZ1

Using the panel

The "SharpenDB DELETE" panel empowers organizations to tailor interactions by accessing data stored in customizable SharpenDB tables. This allows each caller to experience a dynamic, personalized flow based on specific criteria retrieved from the database.

Configuration

  1. Set as Flow Initiator: Selecting "Set as Flow Initiator" designates this panel as the starting point of the IVR flow, initiating the sequence before progressing to subsequent panels within the Logic+ flow.

  2. Panel Name: Choose a consistent name for the panel, and specify the variable to update. If the variable does not already exist, it will be created.

  3. Panel Description: Provide a clear description detailing the panel's purpose and functionality. This acts as documentation, facilitating better understanding and identification of the panel's intended use by others.

  4. Test: Evaluate the functionality of the configured query to ensure it performs as expected.

    1. View JSON: Display the results of the query in JSON format for structured data analysis.

    2. View Table: Present the query results in a tabular format for easy readability and comparison.

  5. Table: Select an existing SharpenDB table to use and query

    1. Use Dropdown: Select a table that exists in the environment.

    2. Use Variable: A user-defined variable containing a string that matches a pre-existing SharpenDB table.

  6. Where: It specifies conditions to filter records in a query, deleting only those that meet the defined criteria.

    1. Field:

      1. Use Dropdown: Selectable “fields” that exist in the selected SharpenDB table.

      2. Use Variable: A user-defined variable containing a string that matches a pre-existing field in the SharpenDB table.

    2. Operator: The operator is used when comparing the current variable against the specified comparison value.

      1. Available Operators

        1. = : Equal to

        2. != : Not equal to

        3. > : Greater than

        4. < : Less than

        5. >= : Greater than or equal to

        6. <= : Less than or equal to

        7. IS / IS NOT : Checks if a value matches a specific condition, commonly used with TRUE, FALSE, or NULL

        8. LIKE / NOT LIKE : Performs pattern matching using wildcards (% for any number of characters, _ for a single character)

        9. IS NULL / IS NOT NULL : Checks if a value is NULL or not NULL

        10. IN : Matches any value within a specified list

        11. NOT IN : Ensures a value does not match any value within a specified list

        12. BETWEEN : Checks if a value is within a specified range (inclusive)

        13. NOT BETWEEN : Checks if a value is outside a specified range (inclusive)

    3. Value: The value that is being compared against a selected field.

  7. Where Operator: Select either "AND" or "OR" from the dropdown to define how multiple conditions are combined.

  8. Timeout: Configurable amount of time, in seconds, to wait for the SharpenDB query to respond with a result set.

    1. Use Dropdown: Specify a numerical value for when the time-out is met.

    2. Use Variable: A user-defined variable containing a numerical value.

  9. Exit Paths: Use the dropdown menu to select another panel in your flow. Any output from this panel will advance to the linked panel.

    1. Default: The Default path is taken upon panel execution.

    2. Timeout: The request time out was met, likely due to a non-performant query.