HAP icon

HAP

Interact with HAP (Hyper Application Platform) API

Overview

This node interacts with the HAP (Hyper Application Platform) API to delete a specific record from a worksheet. It is useful in scenarios where you need to remove outdated, incorrect, or unwanted data entries programmatically within an automated workflow. For example, you might use this node to clean up records after processing them or to enforce data retention policies by deleting records permanently.

Properties

Name Meaning
Worksheet ID The unique identifier of the worksheet containing the record to be deleted.
Record ID The unique row ID of the record that you want to delete.
Permanent Delete Whether to permanently delete the record (true) or perform a soft delete (false).
Trigger Workflow Whether to trigger any associated workflows after the deletion operation (true/false).

Output

The node outputs JSON data representing the result of the delete operation. This typically includes confirmation of the deletion status and may contain metadata about the deleted record or any errors encountered. The output does not include binary data.

Dependencies

  • Requires an API key credential for authenticating with the HAP API.
  • The node expects the HAP API endpoint to be accessible and properly configured.
  • No additional external dependencies are indicated beyond the API authentication.

Troubleshooting

  • Common Issues:

    • Invalid or missing Worksheet ID or Record ID will cause the deletion to fail.
    • Insufficient permissions or invalid API credentials can lead to authorization errors.
    • Attempting to delete a record that does not exist may return an error or no-op response.
  • Error Messages:

    • "Record not found": Verify that the provided Worksheet ID and Record ID are correct.
    • "Unauthorized" or "Authentication failed": Check that the API key credential is valid and has necessary permissions.
    • "Permanent delete not allowed": If permanent deletion is restricted, try disabling the permanent delete option.

Resolving these issues usually involves verifying input parameters, ensuring proper API credentials, and confirming user permissions on the HAP platform.

Links and References

Discussion