Hi all,
I am having some trouble with a triggered flow for my Powerapp. I have built a number of these that work perfectly, and in each instant, they are updating a SP List item that is sitting inside a gallery.
This time, I am doing the same thing, but it is for a nested gallery and the Updateitem_Id seems to be the problem. From what I can tell, I can't get the flow to identify the correct item ID to update. My flow is very basic - manually triggered via PowerApps, then Update Item in SharePoint. I have selected the correct list and then used the "Ask PowerApps" dynamic content for the Item_Id field. I have then filled out other fields as part of the Update Item process.
Then in Powerapps, I have Gallery1, then inside that Gallery2. When you select the item, it creates a popup that shows the button that will trigger the flow. The OnSelect property for this button is:
markmilestonecomplete.Run(Gallery2.Selected.ID);Refresh(Project_Milestones);Refresh('Project Planning')
I get the following error: the method 'run' has an invalid value for parameter powerapps 'Updateitem_ID'
I tried creating a variable for the OnSelect property of the gallery item to: Set(varRecID, ThisItem) and that seems to make PowerApps happy, but the Flow still fails due the the Updateitem_Id selected in the Flow......
Solved! Go to Solution.
Well turns out the Variable did work, just my visual cues in my PowerApp were not - checked SP List and items are updating.
So if anyone finds themselves in this situation, create a variable for the OnSelect property of the gallery item, instead of Select(Parent).
Well turns out the Variable did work, just my visual cues in my PowerApp were not - checked SP List and items are updating.
So if anyone finds themselves in this situation, create a variable for the OnSelect property of the gallery item, instead of Select(Parent).
Hello,
Thanks for sharing the issue and the resolution. It can help other community users as well.
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
85 | |
58 | |
47 | |
38 | |
34 |
User | Count |
---|---|
91 | |
75 | |
74 | |
61 | |
41 |