Create Flows using the JavaScript SDK

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

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

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