First I want to say that I know this has been asked and answered before but for some reason I can't translate those example into what I need. Mostly due to not knowing exactly how all the functions used work I suppose. My goal is to send the rows from a filtered gallery in Power Apps to a flow.
- I assumed using Json to send it as a string would be my best bet here and some research I think confirmed that.
- I have Gallery1_2 which is filtered by UserName and also by 2 date pickers to see time entries for employees
- I want to send the filtered results to the flow called 'EmailWeeklyHours'
- I have had an issue with images type being in the list. I can make it go away by including the binary but I will never need this so it seems like a waste of computing power. I disabled attachments to see if that would resolve it and it did not. (dont really care at this point as long as I get the items)
- My next issue is that there are labels in my gallery as well as a rectangle for some borders and those seem to be being sent in the json as well.
I only need to send the data from these columns to the flow: "TaskCategory", "StartTime", "MinutesOnTask"
I have successfully sent something to a flow and got an output in json but it was just a bunch of "MinutesOnTask" objects with the exact same value. I need to get the proper Json formatting first of all and then get the proper formula.
Not sure how to make this work and any help is appreciated.
EmailWeeklyHours.Run(JSON(Gallery1_2.AllItems,JSONFormat.IncludeBinaryData) -> cannon serialize tables or type control error
EmailWeeklyHours.Run(JSON(ShowColumns(Gallery1_2.AllItems,"TaskCategory", "StartTime", "MinutesOnTask"), JSONFormat.IncludeBinaryData)) -> No errors and sends to flow but output was all messed up