Skip to content

fixed: dynamic journey flow end, added dynamic journey xml demo file#8

Open
DanielRub wants to merge 1 commit intoUseHover:masterfrom
DanielRub:master
Open

fixed: dynamic journey flow end, added dynamic journey xml demo file#8
DanielRub wants to merge 1 commit intoUseHover:masterfrom
DanielRub:master

Conversation

@DanielRub
Copy link

I have shared a dynamic journey demo file.

@DanielRub
Copy link
Author

DanielRub commented Aug 10, 2021

the ussd flow could not ends only with

<responsematching> <defaultresponse> <texts> <text languagecode="en" text="Order is cancelled."> <textmessage>Order is cancelled.</textmessage> </text> </texts> </defaultresponse> </responsematching>

I had to do this

get next() { if (this.menuIndex != 0 && 'options' in this.activeInstructions) { let instructions = this.activeInstructions['options']['optionslist']['option'][this.menuIndex-1]['instructions']; this.activeInstructions = this.instructions = instructions; this.buildMenus(); console.log("Loading next menu:", this.activeMenu); return this.activeMenu; }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant