Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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