Custom events vs api workflow execution order

Hi guys,

Will an API workflow run before a custom event if the custom event is triggered in a step before the api workflow? Since from my understanding, the steps after a custom event do not run until that custom event ends. However, unless I am mistaken, I think that API workflows are directly executed regardless of their step position. So don’t know which one has the priority over the other.
So far, I am making the api workflow dependent on the result of a previous step, just to ensure it runs at the right moment, but I was wondering if triggering a custom event before was already enough to ensure that.

Thanks! :slight_smile:

I believe that is correct. Think of it as a wall: all API workflows after the wall (CE) can be run in any order (assuming you aren’t using result of) but not before the CE finishes.

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.