AnsweredAssumed Answered

Are SugarBPM processes triggered before or after logic hooks?

Question asked by Yury Voloshin on Jul 2, 2020
Latest reply on Jul 3, 2020 by Yury Voloshin

Hello All,


I have a question about how the triggering of SugarBPM processes compares to the triggering of logic hooks. We have three before_save logic hooks in the Opportunities module that are indexed to run in a specific order. I'm considering replacing one of these logic hooks with a SugarBPM process in an effort to reduce custom code. How can I predict at what point in time, relatively to the logic hooks, the new SugarBPM process will run? In other words, will it run before the before_save logic hooks run, or afterwards, or simultaneously?

Thank you,