Skip to main content
Known Participant
Jul 30, 2023 9:05 PM UTC
Question

error in delete Related Action

When I deleted the Record .It gives error

Error:--

After deleting the rows , row has deleted correctly  but this message come again and again..

not able to redirect summary page from where I am deleting the records

    3 replies

    mathieud0001
    Genius
    Jul 30, 2023 9:10 PM UTC

    Yeah. If you're executing the delete action from the Record Summary page, it will redirect you there but the Record no longer exists thus the error message.

    I would suggest 2 options:

    1. You provide the delete action from the Record List.

    2. You have a confirmation page for your Delete action with a link that redirects to the Record list (or elsewhere in the app).

    mikes0011
    Brainy
    Jul 31, 2023 3:26 PM UTC
    You have a confirmation page for your Delete action with a link that redirects to the Record list (or elsewhere in the app).

    This is my normal approach (at least for the rare times when i implement something along these lines).   Honestly I just send them to a task with no "close" button and make them click away.  Though now that we have somewhat more flexibility in a!safeLink (i.e. can set it to open a link in the same tab), there are probably more creative workarounds (link to the user's home site, link to the record type, etc).

    The Expression Guru
    stefanhelzle0001
    Brainy
    Jul 31, 2023 4:40 PM UTC