AnsweredAssumed Answered

Process Definition trigger in relation to LogicHooks

Question asked by Tim Crishi on Feb 13, 2020
Latest reply on Feb 14, 2020 by Maryam Aslam

I hope this is a relatively simple question. In Sugar 9.x, what order does the process definition triggering event fall in relation to LogicHooks? Is it an after_save or a before_save event? What is the order of the event in relation to other Logichooks?

 

I found two articles/answer on the Community site. This is the most recent response, which the gentlemen states that the Process Definitions fire on a "before_save", but the user doesn't state what order it falls in the "before_save"

 

https://community.sugarcrm.com/thread/34843-execute-logichook-after-workflow

 

The second article/answer I found stated that the Advanced Workflow (which was the old version of Process Definitions) was an after_save event with an order number of 100. This article/answer is more than likely out of date as it was from 11/22/17.

 

https://community.sugarcrm.com/thread/31066-how-to-define-logic-hook-alongside-advance-workflow

 

Since there is different information out there and I can't find the answer in the documentation and there isn't anything out there from an official response from Sugar, I figured it'd be best to ask the community.

 

Thanks!

Outcomes