From the documentation:
Custom events run in sequence, not parallel. If Workflow 1 triggers a custom event that starts Workflow 2, Workflow 2 will complete before the remaining actions in Workflow 1 run.
I’m wondering if this is absolutely true.
For example, imagine a backend workflow (Custom Event) set up like this:
Custom Event Foo
- Step 1: Trigger Custom Event Bar
- Step 2: Trigger Custom Event Baz
And let’s assume that Bar triggers three other custom events, which each trigger two events, which each trigger a daisy-chain of three more custom events.
Is it absolutely guaranteed that Bar, as well as all of the custom events triggered by Bar and its descendants will all finish before Baz starts?
Does setting up return values and using “Result of step X’s return value”? Does that depend on whether the return value is conditional or if it simply returns a non-dynamic value unconditionally?