Legacy Dev Forum Posts

 View Only

Sign Up

Error when Bot returns collection of size 1

  • 1.  Error when Bot returns collection of size 1

    Posted 06-05-2025 19:15

    Sim | 2023-05-19 14:09:09 UTC | #1

    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.


    Jerome.Saint-Marc | 2023-05-23 14:55:08 UTC | #2

    Hello,

    I would recommend to open a case with Genesys Cloud Customer Care if you have not done so already.

    I just tried a similar flow and I have the same issue.

    Regards,


    system | 2023-06-23 14:55:33 UTC | #3

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 20030