Announcements
hii sir
how to looping previous question with variable output
example
i have variable (number)
in that variable i have "5" in that output
so i want 5 times looping that question
Hi, @Anonymous . Can you try and elaborate on your request? I'm not sure I'm understanding what you're asking for. Are you saying that you'd have a question where you ask the user to enter a number, and then after that, you want to ask another question as many times as the number they entered?
yes sir
hii @MattJimison yes
Is the bot built in the original PVA interface or the new unified canvas?
hello @MattJimison unified canvas
and
i have another issue
why stars are came i cant understand
Hi, @Anonymous . I'm not sure what you mean by "why stars are came?"
when i use "Go to step" opition, i am shared one screenshot in below stars are coming
see in red rectangular box
If you add Bold styling to your text, that's how it appears in the 'Go to step' node.
@inzil2k is correct, and the reason it's doing it is it's just showing you the markdown format of the text inside the node you are redirecting to. As an example, if you had a question that was bolded and italicized, the "Go to step" option will show the asterisks and the underline. Your end users won't ever see the text like this, so it shouldn't cause an issue.
Find this post helpful? Please mark it as the solution and/or provide kudos so that it will help others in the future.Cheers,Matt
@Anonymous you can copy/paste the below code into a new topic in the Unified Canvas and it does what you requested. You do this by clicking on the "..." in the top-right corner of the topic and choosing "Open code editor" and pasting in the code.
A few notes on how it works:
1. It only asks the user to enter a number once and skips the question afterwards (default behavior of a question node). This allows us to redirect to this node but not have the question asked again (you can't "Go to" a condition node so this is why you have to point back to the question to get the condition to reevaluate again and determine whether it needs to run again)
2. It is set to always ask the question in the condition loop which we're using like a 'for' loop (I have it asking for Movie #x in the question). In a real world scenario I'd make sure this number isn't too high - not sure what your use case is but you wouldn't want to have someone enter 1,000 and then repeatedly ask the question.
kind: AdaptiveDialog beginDialog: kind: OnRecognizedIntent id: main intent: displayName: Counter triggerQueries: - counter actions: - kind: SetVariable id: XRw8vq variable: Topic.Counter value: 0 - kind: Question id: Question_VGvhH2 variable: Topic.NumberToRepeat prompt: Enter a number. entity: NumberPrebuiltEntity - kind: ConditionGroup id: conditionGroup_GhGRvA conditions: - id: conditionItem_b1d4Dm condition: =Topic.Counter < Topic.NumberToRepeat actions: - kind: SetVariable id: setVariable_xSUoUq variable: Topic.Counter value: =Topic.Counter+1 - kind: Question id: question_KtDima interruptionPolicy: allowInterruption: true alwaysPrompt: true variable: init:Topic.Var1 prompt: "Movie #{Topic.Counter}" entity: StringPrebuiltEntity alwaysAsk: true - kind: GotoAction id: L1TAGm actionId: Question_VGvhH2 - kind: SendActivity id: sendActivity_bBxaVN activity: Finished loop. inputType: {} outputType: {}
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Romain The Low-Code... 130 Super User 2026 Season 1
Valantis 123
chiaraalina 33 Super User 2026 Season 1