cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
NormanYuits1
Regular Visitor

Microsoft Forms Pro / Pre-set variables by Power Automate, when survey id is not static

Hello,

I had a following problem using Forms Pro survey distribution with Power Automate.
Imagine there are several surveys created with a same set of custom variables. (For example, job name, phone-number)
We'd like to distribute different surveys based on some pre-conditions and set these vairables at a flow run-time.

In 'Create Invitation link' flow action for FormsPro, we set survey id to be inherited from a previous flow action/step. (The ID is taken from some table, where it's added manually, upfront). So flow should pick-up correct survey at run-time.

But If we don't specify the exact survey ID within flow configuration, it doesn't allow to set custom variables, even so they might be simillar for every survey in our scenario.

Even if a variable is not available in particular survey, it could be ignored - it's still a relevant business case.

I've tried to adjust JSON input manually, (using flow export/import) but in this case an error is shown (like: action doesn't follow the JSON schema).

Does anyone now, if there a way to achieve that? 
I think such issue could be raised not only for FormsPro connectors...
Any help appreciated!
Thanks!


3 REPLIES 3
v-bacao-msft
Community Support
Community Support

 

Hi @NormanYuits1 ,

 

Could you provide screenshots of the current Flow configuration so that we can better analyze your problems and provide you with the appropriate workaround?

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I've made a brief example. Just to understand an issue.

1) The Form Id (survey) is taken from previous step. In this case neither of variables are shown (except default ones)

2) The Form Id is specified manually at design time. Variables are shown according to specified Form.

 

In our case, all surveys used in a flow will have the same set of variables. Otherwise, if the variable is specified, and doesn't exist on the form (selected at run-time), it could be ignored.

----Dynamic content

Dynamics contentDynamics content

-----------------Static content - variables are shown

Static contentStatic content

What @GY is mentioned is exaclty an issue we've faced with.

It's makes flow design and maintanence extremely cumbersome, as we need to use as much "case" branches as different survey we have.
We'd like to have only one step to 'Generate survey invitation'.
@v-bacao-msft  is it clear now?


Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Kudoed Authors
Users online (2,161)