I am trying to pass several field of a edit form to a flow. I tried doing it like this:
myflow.run(datacardvalue1, datacardvalue2, datacardvalue3,...)
Within the flow I initialized variables, and tried to enter the arguments as a value.
Unfortunately I get the error that to many arguments are being passed. Only 1 argument is expected. This is why I assume, I cannot pass multiple arguments to a flow. Is this true?
If not, how can I achieve this? Thanks!
Solved! Go to Solution.
Hi @Anonymous
Hi @Anonymous
hi @yashag2255
thanks a lot for answering the queston! you helped me a lot!! My problem was indeed that i did not remove the flow and put it back in. now it works. however, a new problem popped up - maybe you can help me with that too? That would be awesome.
What I try to achieve is the following. The list hast a date field. The edit form allows to edit this field. The form contains a date picker and two drop downs for hour and minute. Again, all of them match to one single list column. Now, when I submit the form I need to start a flow too. This flow should take the newly created date and does some calculations. Therefore - I think - I need to pass the three different fields and concat them within the flow to use the date there. Unfortunately, the passing of the parameter does not work. I have initialized three variables in the flow for date, hour and minute. All three are of type string as the date field in the list is string too.
now, i am trying to pass the parameters. I get an error because the passed parameters are of type record and control. I do not have the option to inititalize a variable of that type in flow. what can i do? thanks a lot!!
hi! me again..
I think i just need to put text() around to make it work, right?
but also, now there is a 4th paramter i never have used in the flow. Just called variableinit_value. I do not need that and it causes trouble because i do not know its data type. I can not remove it.. have you had similar situations before?
Hi @Anonymous
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
User | Count |
---|---|
190 | |
70 | |
50 | |
37 | |
26 |
User | Count |
---|---|
243 | |
113 | |
91 | |
91 | |
68 |