I have a requirement regarding submit button. There will be a Submit button to save changes and Users will be returned to the summary page.Please suggest a code regarding this.
Discussion posts and replies are publicly visible
Hello appian1997
Are you trying to edit the existing record data or add any related /additional information to the record from the summary?If yes, please use a Related Record Action. That will do the work.
In general, the only way to direct where a user is "returned to" after any particular task or action, is where they started from. If they open a task or start a process / record action from a certain site page / dashboard, when that task or process concludes, that's where they'll return to after it's over. Konduru's suggestion is thus the correct one in general, that is, if you want a user to be returned to a summary dashboard following an update, then you'll want to allow users to start the "update" action / record action from that location. But there's not any particular way to manually "redirect" or "return" users to any specific place following actions like this.