cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper I
Helper I

flow does not work with variables

Hi there,
I am having troubles with my flow... it is not working well when I set the content of the field in the form..., I have a word template in order to populate with the app, in fact when I send text values to the flow... it works
flow2.run("date"; "1254")... the flow works properly........ but those are text and static values..., I need to run the flow with the values of the fields in the form wich are populated..., for example I need something like this:  flujo2.Run(Fecha_DataCard1;Numero_DataCard1)

the error message is "type of argument not valid (control), expected a text value"

if someone could help me out

3 REPLIES 3
Super User III
Super User III

Try

flujo2.Run(Fecha_DataCardValue1.Text;Numero_DataCardValue2.Text)

 

Please DatacardValues stores what you enter in the Textbox. Don't use Datacard.

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Frequent Visitor

Can not write it as you say…, the error message is: The Run function has invalid arguments when I start to write is not available the extension .TEXT, and neither Fecha_DataCardValue1, only Fecha_DataCard1...., the source data is an excel file in OneDrive, Fecha_DataCard1.jpg

 

 

Replace Fecha_DataCardValue1 with DatePicker2.SelectedDate in the flow.

 

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (32,589)