cancel
Showing results for 
Search instead for 
Did you mean: 

Flow from PowerApps: Getting the Variable Names Correct

In PowerApps, you can create a flow associated with your App. This a very powerful and easy way to extend the functionality of your PowerApp.

 

When you create your flow, it gives you the ability to send in inputs from your PowerApp, but it also tries to choose the name for you. So here is a simple tick to get your name of your variables right.

 

Example:

 

Create a blank PowerApp

blankpowerapp.PNG

On the menu, click Action and Flows

flows.png

Now, Create a new flow

createflow.PNG

In our flow, add a simple Compose action

compose.PNG

 Now for the inputs, choose Ask in PowerApps

ask.png

 The input has been named "Compose_Inputs", which is probably not what you want.

componsename.PNG

So, heres the trick:

 

In the expression box, type "triggerBody()['customname'] - where custom name is the name you would like to assign  to the input.

customname.PNG

Save the worflow, and exit it. Then when you edit it again, you will see it will collect the input from PowerApps with the name you have given it

namedone.PNG

Comments

I'm looking forward for more integration between PowerApps and Flow

Meet Our Blog Authors
  • Co-founder of https://plumsail.com, Office 365 and SharePoint expert. Passionate about design and development of easy to use, convenient and flexible products.
  • Microsoft Business Apps MVP. Owner of ThriveFast, an Office 365 consulting company.
  • 7x Microsoft Business Solutions MVP (CRM)
  • Solution Architect with Slalom, and organizer of the Boston Office 365 User Group, and long term SharePoint/Office 365 veteren. Find more at http://www.davidlozzi.com. Follow @DavidLozzi
  • I'm keen in MS technologies, SharePoint, Office 365 and development for them
  • Michelle is an Office 365 solution architect in Twin Cities, MN. She has been delivering business collaboration solutions for years with her focus on SharePoint and Office 365. Michelle is a recent board member of the Minnesota Office 365 User Group and has been a member of the SharePoint community since 2009. She is a frequent speaker at MNSPUG and SharePoint Saturday and co-chaired the Legal SharePoint User Group for 4 years. Her most frequent projects have involved rolling out a large deployment of Office 365, SharePoint Online intranet, build of a "CHAMPS" Office 365 user adoption program and most recently, SharePoint On-Premise to Online Migration. Michelle is very excited about cloud technology as it is shifting her IT Pro focus to collaboration strategy and technical adoption.
  • I'm a Microsoft Office Servers and Services MVP with a special interest in SharePoint, Office 365, Microsoft Flow, Microsoft Teams and PowerApps. I work at Triad Group Plc ( https://triad.co.uk)
>