Legacy Dev Forum Posts

 View Only

Sign Up

Create Flows using the JavaScript SDK

  • 1.  Create Flows using the JavaScript SDK

    Posted 06-05-2025 19:10

    stanislav | 2020-07-22 15:18:11 UTC | #1

    Hi, I am trying to create a flow using the SDK. I want to create a flow only with name and description, without any menus or tasks. The same way like in the purecloud UI.

    When I tried to create a flow only with name and description I've got this error:

    • ERROR! Validation Summary

    [Type:'ArchValidationIssue', ErrorCount:1, ArchObject:[Name:'MyFlow2', Type:'ArchFlowInboundCall']] There is no startup object configured in the current flow. [Type:'ArchValidationIssue', WarningCount:1, ArchObject:[Property:'Initial Greeting']] The main sequence for 'Initial Greeting' has no audio set

      • Validation Summary Done -- [Name:'MyFlow2', Type:'ArchFlowInboundCall']
    • ERROR! There is at least one validation error in the created flow. Not publishing.

    Is it possible to create a flow only with these two properties ? I tried using archy and again I've got an error. First I tried with JAVA sdk, it successfully created a flow ,but then in the UI I has error: "{FlowName} has no flow configuration. You can delete the flow or re-create it as a new flow."

    Thank you


    jon.vansteen | 2020-07-23 14:10:15 UTC | #2

    Hi stanislav,

    It is not possible to create a flow only with these two properties. A menu or task is required as a startup object for an inbound call flow. Although it may not seem like it, when creating a flow in the Architect UI a "Starting Menu" is created for you by default, however with the Architect Scripting SDK and Archy it does not auto-create this starting menu and one must be created instead.

    Thanks, Jon


    system | 2020-08-23 14:10:20 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: 8320