Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

transfer variables to Power Automate

(0) ShareShare
ReportReport
Posted on by 4

Hey folks,

I have a conversation flow with several branches.
Each branch has its own variables.
There is one node after all the branches, which sends variables to Power Automate.
The problem is that PVA needs ALL the variables from ALL the branches to send them to PA.

What would you suggest to manage this case?

Thank you!

Categories:
  • fernandosilva Profile Picture
    Super User 2024 Season 1 on at
    Re: transfer variables to Power Automate

    Hi all,

     

    Have you tried using Coalesce() for each field, so when there is an empty one it won't give you any error.

     

    For example: In PVA, after calling the Power Automate action, you can edit the action of each field and place a formula. Using Coalesce, any empty field can display nothing or something else you want to display.

    So, the result is that you will just receive the data that you need without errors.

    2023-09-11 10.39.35 web.powerva.microsoft.com 795f95125967.png

     

    Cheers,

     

    Fernando

  • ishubin Profile Picture
    4 on at
    Re: transfer variables to Power Automate

    @MattJimison thank you for your suggestion. Your understanding is correct. I have tried to use the optional input field in PA, and IsBlank. But probably I did it in the wrong way, because I still have the issue

  • MattJimison Profile Picture
    577 Most Valuable Professional on at
    Re: transfer variables to Power Automate

    Hi, @ishubin .

     

    A picture may help to better illustrate your problem. As I understand it, you have multiple branches with distinct variables, and at the conclusion of all branches, you're calling a Power Automate function that includes all of the variables? If so, all of the variables should be available to pass, even if they aren't populated. If your problem is that Power Automate complains when some of the variables are blank, you could mark those input variables in PA as optional and/or use a Formula when passing them to test for IsBlank(), and pass a different value (i.e. 'Default', etc.)

     


    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

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Copilot Studio - General

#1
Pablo Roldan Profile Picture

Pablo Roldan 33

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 25

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard