Hi
This has probably been asked a million times, but here we go again.
I have a form that starts with 3 radio buttons, choices. Each one of those links to a different section in the form with questions related to that choice, and then submitted. On submitting, I use Power Automate to gather that data and add it to a Teams Channel. The only issue I have now is that I load all the choices and related questions in the Teams Channel and the Section that was completed on the form will have the answers, all the other headings will just have blank spaces.
My question is, is there a way to only post the Section that has been completed? So if choice 2 is selected, only Section 2 is displayed in the Teams Channel. In essence, using inline 'if else' expressions, but I cannot find an 'else'.
I hope that makes sense. Thanks in advance for any help.
Solved! Go to Solution.
Hi,
Maybe this will help.
I created a pretty standard form, comprising of 1 question with three choices which then routed to the question below:
Then in Power Automate I got the responses from the form, and did a Switch condition based on the answer from the radio button.
I then updated the Response varaible with the answer of the question that the person got routed to, and then passed that Response variable back to a Teams channel:
Does this help? If so can you like the comment and mark this as a solution?
Thanks.
Hi,
Maybe this will help.
I created a pretty standard form, comprising of 1 question with three choices which then routed to the question below:
Then in Power Automate I got the responses from the form, and did a Switch condition based on the answer from the radio button.
I then updated the Response varaible with the answer of the question that the person got routed to, and then passed that Response variable back to a Teams channel:
Does this help? If so can you like the comment and mark this as a solution?
Thanks.
Hi
Thanks so much for that, looks as though it is exactly what I need.
Will let you know how it goes.
Cheers
Hi
Just curious how you got the last bit of this expression [body/r....].
Hi,
I don't think mine was in an apply to each, I just had the switch condition and that is based on the question you want to collate the answers on, and then set the responses variable to whatever you need inside each of the cases of the switch
Hiya
Shot for this. I have no idea why Power Automate kept chucking things in "Apply to Each" blocks, I eventually started from scratch and found everything I needed. It is all working swimmingly fine now. Thanks so much for your help.
@drewnadin Great news, if I have solved the issue for you, can you like my reply and mark it as a solution ?
Thanks.
User | Count |
---|---|
27 | |
16 | |
16 | |
12 | |
11 |
User | Count |
---|---|
42 | |
30 | |
28 | |
25 | |
24 |