Documentation for a newer release is available. View Latest

How Do I Use Publishing Features?

The 'Publishing' flag is available on all state definitions within a flow:

publishing 1

When the Is Publishing? flag is enabled on a state definition, it means that an event will be published by the flow when it reaches this state. This feature is particularly useful for flo-to-flo communication, as it allows the calling flow to define specific Event Behaviour on receiving these published events from the called flow.

If you select a state definition in MPS and open the inspector (CTRL+ALT+I), you can see that there are further publishing capabilities available:

publishing 2

One important parameter we can configure here is 'Published Data`, which allows us to specify which data is included in the published event. Again, considering the flo-to-flo example, this can be leveraged to exchange relevant data between the called flow and calling flow (or flows).

As of the 2024.4.0 release version, publishing features are only utilised in flo-to-flo communication. However, a new extension allowing custom implementations of these features is expected to be available in a forthcoming release.