web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Microsoft Forms Pro / ...
Power Automate
Unanswered

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

(0) ShareShare
ReportReport
Posted on by

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!


Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    on at

     

    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,

  • GYAR Profile Picture
    2 on at

    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

  • Community Power Platform Member Profile Picture
    on at

    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?


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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard