re-direction from Summary view to Records List view

Hi , 

I have related Action "Delete" in the summary view of a record for the soft deletion.After the action is completed it is throwing an error "An Error Has Occurred The record data does not exist, has been deleted, or you do not have sufficient privileges to access it. (APNX-1-4205-006)" . Is there any way i can do redirection to Records list view instead of summary view so that i can avoid this error message.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Hi 

    No, it's the default message Appian throws, when you delete the current record via a related action and you have chained the process till the end node.

    One way to avoid this is, unchain the nodes of your related action process, post submission of the form / User Input Task.

    Advantage of this approach:

    You will be redirected to this current record summary.

    Disadvantage of this approach:

    You will be able to see the current row summary even when it is deleted (soft delete - by making flag as false OR hard delete by just removing the row) via related action. Because, you have unchained the process after User Input Task Node and hence you are getting redirected to the summary before the deletion of the current row. Hence, you will need to manually click on your record link to go back to the Record List View.

    Hopefully Appian may handle this in their upcoming releases.

    Hope this will help.

  • You could extend the "soft delete" idea as follows:

    • mark the record as being deleted (new Boolean column)
    • if the record is marked as deleted, make this very apparent in the Summary Screen (you could go as far as only showing a message saying "This Record has been deleted")
    • in the record list view you could then either use a default filter so that the deleted records are NEVER shown and can never be accessed again...or have a User filter that has a default setting to filter out deleted records
  • Hi ,

    it's been a while I was getting back on this. I tried your idea and added default filter to show all active items and the deleted items which were deleted in the past minute or so. I was able to solve the problem temporarily. Thanks for the work around.

  • Glad it worked out for you, and thanks for the feedback. Good to know it's an option for future such scenarios.

Reply Children
No Data