I have a requirement to delete a record using related action. After performing that action that has to redirect to another page in the site.
One way to achieve that would be to give a confirmation screen after the record is deleted successfully using related actions. The confirmation screen (Interface) can have a!safeLink() which will contain the link to the site.
But do wait for what other practitioners have to say.
Is the page to which you want to be redirected a User Task, a Report, or a Record view?
If task, just design the process to flow into the task after the action.
If it's a record or a report, a link is one option.
If that doesn't satisfy your need, please open a support case to communicate what you're trying to do back to the product team.
As Robert asked to which page you want to redirect? If you can elaborate your use case further it will be helpful to solve the issue .I don't think so it can be achievable ,unless you use a!safelink() which opens in a new window or a tab.
I am assuming the real problem you're trying to solve is that when a record is deleted (through the use of a related action) that upon returning to the Summary page of the Record you deleted you get an error telling you you can't access the record (reasonably so, because you just deleted it!). One user-friendly option is to logically delete the record - that is, have an attribute called 'isDeleted' and set this to true in your Related Action. And in your Summary page you can determine if this is set to true and show and empty Summary page (or include a user-friendly message on your Summary page). When you navigate back to the Record List View you can then exclude (default filter) any record that is marked as deleted so they cannot get back to the record at all. If you want to actually delete the record you can then run a process overnight to actually physically delete the Record.
You can also provide a link on the record list itself (per row) and use a!startProcess() to delete the record from the database.
But I would only use this option for a soft delete. Don't want users to accidentally click and delete the data
Discussion posts and replies are publicly visible
© 2020 Appian. All rights reserved.