AnsweredAssumed Answered

How do I cause a redirect after an after_save logic hook?

Question asked by Iulia Iulia on Apr 23, 2014
Latest reply on Oct 15, 2019 by M Gupta

     In sugar 7 pro, I created a logic hook for Leads module in order to delete a lead after I convert it. That works fine, but after the actions are done, sugar redirects me to the page of the record that have been converted. And so I got an error, because the lead is deleted. How can I redirect to listview after the execution of logic hook?