Hi @HenryJammes Hope you doing well.
I have design flow in PVA where first i have two variable one is for message = Activity.text and another is channelId = Conversation.id
then i use action which give me response from Power automation and this action use the two varaiable as input then i use ask a Question topic upon deciding question i use another variable which store the question text the i use go to step which is action Topic so now i want to use the message variable override with the same store question text varaibale value so it will be possible?
flow :
so the last image show when we get select question then i store this question in followupQ varaible but i am unable to give this value to the first varaible which is message so action will use this variable as input.
here is the code:
kind: AdaptiveDialog
beginDialog:
kind: OnUnknownIntent
id: main
actions:
- kind: ConditionGroup
id: conditionGroup_LktzXw
conditions:
- id: conditionItem_tlGIVo
condition: =System.FallbackCount < 3
actions:
- kind: SendActivity
id: sendMessage_QZreqo
activity: I'm sorry, I'm not sure how to help with that. Can you try rephrasing?
elseActions:
- kind: SetVariable
id: setVariable_GTvAYK
variable: Topic.message
value: =System.Activity.Text
- kind: SetVariable
id: setVariable_iUhd23
variable: Topic.channelId
value: =System.Conversation.Id
- kind: InvokeFlowAction
id: invokeFlowAction_hmQcmK
input:
binding:
text: =Topic.message
text_1: =Topic.channelId
output:
binding:
answer: Topic.answer
followup: Topic.followup
source: Topic.source
flowId: e2261edf-1fb5-ee11-a569-6045bd006ade
- kind: ConditionGroup
id: conditionGroup_NEB6j4
conditions:
- id: conditionItem_xiSAU3
condition: =!IsBlank(Topic.followup)
actions:
- kind: ParseValue
id: YNjP77
variable: Topic.OptionsTable
valueType:
kind: Record
properties:
json:
type:
kind: Table
properties:
DisplayName: String
question: String
value: =Topic.followup
- kind: Question
id: question_a5zxac
interruptionPolicy:
allowInterruption: true
variable: init:Topic.SelectedQuestion
prompt: You may ask the Follow Up Question.
entity:
kind: DynamicClosedListEntity
items: =Topic.OptionsTable.json
- kind: ConditionGroup
id: conditionGroup_TJzRUz
conditions:
- id: conditionItem_RpXnjz
condition: =!IsBlank(Topic.SelectedQuestion)
actions:
- kind: SetVariable
id: setVariable_BlEGpg
variable: Topic.selectedFollowupQuestion
value: =Topic.SelectedQuestion.question
- kind: GotoAction
id: nRMI0q
actionId: invokeFlowAction_hmQcmK
- kind: SendActivity
id: sendActivity_teRQSy
activity: |-
{Topic.answer}
{Topic.source}
{Topic.followup}
- Actually i want to use go to step and select action and place the selected followupQ variable in action and so the flow repeat itself from start :
Thanks.
I think i worked now after this action i used go to step but each time i tried it automatically selected ask a Question Topic so this time i scroll up with speed and selected above topic and now its working.
The automatic selection confuses me, which is why I initially thought it would not be possible.
Thanks
Romain The Low-Code...
132
Michael E. Gernaey
81
Super User 2025 Season 1
Pablo Roldan
61