I have a flow that looks like below:
inbound flow -> common module -> bot flow
The bot flow returns a collection of strings to the common module and the common module returns the same collection of strings to the inbound flow.
When ever I return a collection of strings from the bot flow that is specifically of size 1, the common module throws an error.
When returning a collection of strings from the bot flow that is NOT_SET or size is more than 1, the common module precedes normally.
Bot flow:
Common module:
When "someCollection" is of size 1 we hear the "Bot flow ended" message in the Bot flow and NOT the "got here" message in the common module.
when "someCollection" is NOT of size 1 (more than 1 or NOT_SET) we hear both the "Bot flow ended" message in the Bot flow AND the "got here" message in the common module.