cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AnthonyJrJr
Regular Visitor

Update variable - Gallery1.Selected has changed

Hi guys,

 

I'm trying to figure this out, based on experience, I don't want to use Gallery1.Selected when dealing with SP, which seems good, but right now I have other problem, how can I refresh variable collection.

So, I have this

AnthonyJrJr_0-1637585883977.png

 

And if I change values (yes/no) in the subsequent steps, like this one

AnthonyJrJr_1-1637585922423.png

 

If I go forward, and apply the changes

AnthonyJrJr_3-1637586023508.png

 

And then if I go back using in-app buttons and actions

AnthonyJrJr_2-1637585974255.png

 

I don't get my changes reflected in my variable (SP list have those changes saved), but I want to update my variable to reflect changes and pick up calculated fields values too. (Which means that I can't just patch values to SP, I have also to grab new calculated values from the SP list to the existing variable).

 

How can I do this?

 

Anthony

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
shoog
Solution Specialist
Solution Specialist

Adding this to the OnSuccess event of your form should work:

Set(varRecord, Self.LastSubmit)

 

View solution in original post

1 REPLY 1
shoog
Solution Specialist
Solution Specialist

Adding this to the OnSuccess event of your form should work:

Set(varRecord, Self.LastSubmit)

 

View solution in original post

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

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