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
Super User

@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

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

1 REPLY 1
RandyHayes
Super User
Super User

@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

Really want to show your appreciation? Buy Me A Cup Of Coffee!

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

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