cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Achavan
Resolver II
Resolver II

Guid Not Getting On Success of Form

Hi,

I am trying to create a record on success of form.

Once the record is submitted, I want to call a flow and pass the current record GUID created.

In below Screenshot you can see I tried to get the record GUID on success but when flow runs it giving me null value.

 

CreateRecord.Run(Text(DataCardValue7.Selected.'General Checklist'),Text(Form2.Updates.'Safety Checklist'))

 

Achavan_0-1594210360927.png

Is there any way I can pass the GUID of created record ??

 

Thanks in Advance.

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
RandyHayes
Super User III
Super User III

@Achavan 

Have you looked at the LastSubmit property of the form?  If you have an autogenerating GUID in your datasource, it should then be in that property (which is a full record of the last submitted data from the source).

If that is not successful (depending on your GUID column), you could also instantiate a Lookup on that based on the ID in the LastSubmit property of the form.

I'm not sure entirely what your params are for the Flow and am assuming that this part:

Text(Form2.Updates.'Safety Checklist')

is where you are somehow expecting the record and/or the ID.

 

I hope this leads to a conclusion for you and is helpful. 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

View solution in original post

1 REPLY 1
RandyHayes
Super User III
Super User III

@Achavan 

Have you looked at the LastSubmit property of the form?  If you have an autogenerating GUID in your datasource, it should then be in that property (which is a full record of the last submitted data from the source).

If that is not successful (depending on your GUID column), you could also instantiate a Lookup on that based on the ID in the LastSubmit property of the form.

I'm not sure entirely what your params are for the Flow and am assuming that this part:

Text(Form2.Updates.'Safety Checklist')

is where you are somehow expecting the record and/or the ID.

 

I hope this leads to a conclusion for you and is helpful. 

_____________________________________________________________________________________
Digging it? - Click on the Thumbs Up below. Solved your problem? - Click on Accept as Solution below. Others seeking the same answers will be happy you did.
Check out my PowerApps Videos too! And, follow me on Twitter @RandyHayes

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

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Top Solution Authors
Top Kudoed Authors
Users online (20,787)