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

FLOW Failing get Item ID

Hello,

 

Can someone help on this error.. of MS flow failing... from powerapps.

1 ACCEPTED SOLUTION

Accepted Solutions

Ok i got this.

 

On Button: Select property: submiform(sharepointform1);ABCFLOW.Run(Sharepointform1.lastsubmit.ID).

 

If i do this its working..

 

Thanks all for replies.

View solution in original post

7 REPLIES 7
Pstork1
Dual Super User III
Dual Super User III

Can you share the code in the OnSelect property under the two buttons?  It looks like you aren't passing the ID to the Flow.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

ONSELECT: SubmitForm(SharePointForm1);FLOW2019_3.Run(SharePointIntegration.SelectedListItemID)

Pstork1
Dual Super User III
Dual Super User III

Double check that the SelectedID values is actually what you are expecting it to be.  I've seen times in the past when something about that form gets off and the Selecteditem doesn't show up correctly.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Hello,

I even deleted the flows, buttons and added New, but still i am getting the same error in the flow.

 

I tried to add the flow at the form level and just submit form @ button level, but still same error.

 

I can delete the list and do that, but the problem will occur if i delete the Line item and again run the flow..

 

Any suggestions...?

 

Thanks.

Hi @maruthi216 ,

Maybe you could change the action's order.

For example, try this:

ONSELECT: FLOW2019_3.Run(SharePointIntegration.SelectedListItemID);SubmitForm(SharePointForm1)

Because the form's data will be invalid after the form has been submitted.

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

I am getting same error. No change, its hung up at ID:1.

Ok i got this.

 

On Button: Select property: submiform(sharepointform1);ABCFLOW.Run(Sharepointform1.lastsubmit.ID).

 

If i do this its working..

 

Thanks all for replies.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,176)