on 2021 Apr 23 8:36 AM
Hi Experts.
Hello Experts.
I have a question regarding the plugin execution sequence.
Let's imagine that we have the plugin that we will call A that performs certain tasks in the addsalesitem method, we also have the plugin B that performs other tasks in the addsalesitem method.
Plugin A must always be run before Plugin B.
What do we have to do to be able to control said execution order?
Thanks in advance!
Request clarification before answering.
Hi raul_campo,
plugins are executed strictly in alphabetic order.
Alternatively you could implement something like an eventbus, where every plugin listens to and consume the events which are important.
Regards
Robert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.