Not possible to share data between subflows

Hi,

I’m trying to implement the “Flow of subflows” pattern using Prefect 2.0 and I’m having a problem sharing data between flow and subflow because of the following limitation:

Flow run parameters cannot exceed 512kb in size

So, If for example, I have a subflow that requires a 1MB string as input, it will raise an error because of the limitation, and then it doesn’t makes sense to use a “Flow of subflows” as it will be better to use a “Monoflow” pattern.

If there is any other way to share data between subflows, can you please share it?

@bhernandez enode the data which you are sending it will give you a key so that it can be passed to subflow and there we can decode it again