Legacy Dev Forum Posts

 View Only

Sign Up

Is there a limit on the number of flows?

  • 1.  Is there a limit on the number of flows?

    Posted 06-05-2025 19:12

    James_Tarling | 2022-05-16 14:16:25 UTC | #1

    We are recently unable to create new flows on our dev org.

    Using the Genesys UI we're seeing an error "Failed to create the flow." We are also seeing errors when using Archy

    Please could you advise if there are limits on the number of flows.


    Ebenezer_Osei | 2022-05-16 14:31:59 UTC | #2

    Hello,

    Do you mind sharing the entire error message you are getting from Archy?

    Thanks


    MelissaBailey | 2022-05-19 09:49:22 UTC | #3

    There's a limit on the number of nlu domains you can have, which limits the number of bot flows. No limits on the other flow types.


    James_Tarling | 2022-05-16 14:46:48 UTC | #4

    These are the error messages. If I delete flows first, then it works - the behaviour is consistent with there being a limit

    ERROR! createAsync - failed to create. -- [Name:'My bot name', Type:'ArchFlowBot']
    
    ERROR! saveAsync - creation failed. -- [Name:'My bot name', Type:'ArchFlowBot']
    
    ERROR! publishAsync - could not save the flow named 'My bot name' (id: '__script_flow__2baf9ba9-ccae-4ab1-954b-3ca2db14393f')
    
    ERROR! saveAsync - creation failed. -- [Name:'My bot name', Type:'ArchFlowBot'] -- [Name:'My bot name', Type:'ArchFlowBot']
    
    ERROR! session startup initialization for startWithClientIdAndSecret complete.  Caught unhandled exception waiting for callback function returned promise to resolve. -- [ArchSession, Environment:'prod', Host:'apps.euw2.pure.cloud', Region:'eu-west-2', ArchSessionId:'BJGyJRyvc', OrgName:'My Org Name', OrgId:'My org ID']
    
    ERROR! ArchSession.startWithClientIdAndSecret - Caught unhandled exception during callback function execution.  Ending session.  Exception info: - ERROR! publishAsync - could not save the flow named 'My bot name' (id: '__script_flow__2baf9ba9-ccae-4ab1-954b-3ca2db14393f')
    
    ERROR! saveAsync - creation failed. -- [Name:'My bot name', Type:'ArchFlowBot'] -- [Name:'My bot name', Type:'ArchFlowBot'] -- [ArchSession, Environment:'prod', Host:'apps.euw2.pure.cloud', Region:'eu-west-2', ArchSessionId:'BJGyJRyvc', OrgName:'My Org Name', OrgId:'My org ID']
    
    ERROR! ending the Session.  Setting the exit code to 99. -- [ArchSession, Environment:'prod', Host:'apps.euw2.pure.cloud', Region:'eu-west-2', ArchSessionId:'BJGyJRyvc', OrgName:'My Org Name', OrgId:'My org ID']

    James_Tarling | 2022-05-16 14:58:47 UTC | #5

    There's a limit on the number of nlu domains you can have, which limits the number of bot flows. No limits on the other flow types.

    Hi @MelissaBailey - do you happen to know where I can find the limit please? And is it possible to get it increased?

    Thanks


    MelissaBailey | 2022-05-16 15:27:50 UTC | #6

    See https://developer.genesys.cloud/organization/organization/limits The nlu domain limit is domains.max under langauge-understanding. You can contact support to ask for an increase.

    Side note: if you keep looking upwards through the scripting output you should find the api response that failed. If it's b/c of this limit, you should see a 409


    James_Tarling | 2022-05-19 09:51:29 UTC | #7

    Thanks - getting the domains.max limit increased fixed the issue. I couldn't see any 409 errors in the Archy logs though. Also, it would be good to get more explicit error messages in Archy output and in the Genesys UI.

    Thanks for your help


    system | 2022-06-19 09:52:18 UTC | #8

    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: 14758