cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GA2021
Helper I
Helper I

How to get just the current entry

Hi 

 

I have created a flow as below. It works fine now I just want it to be trigged when a new item is created. 

GA2021_0-1659329154714.png

I get the below list  - I want it to be limited to when an entry has been created . I just want the new entry to be work flowed. 

 

GA2021_1-1659329188622.png

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-liwei-msft
Community Support
Community Support

Hi @GA2021 ,

 

Could you please tell me:

Do you want to get a record returned by When an item is created instead of all records of the entire list? 

Because When an item is created returns a record instead of an array, it is not possible to use Select directly. 

You can use Get Items to filter out this record by ID (that comes with SharePoint) in the filter query. 

I have made a test for your reference:

1. This is my data source. 

vliweimsft_0-1659495873531.jpeg

 

2. Add Get Items and enter in filter query: 

vliweimsft_1-1659495891020.jpeg

 

3. Use Select:

vliweimsft_2-1659495901959.png

 

 

Best Regards,

Levi

View solution in original post

5 REPLIES 5
365-Assist
Super User
Super User

Don't use the Get Items  to get values. Instead get the value directly from the Trigger (When a new item is created).

 

Otherwise use and If Action to get the value you need.

 

---------------------------------------------------
Please Accept as Solution if it solves your question. Or just give it a Thumbs Up if it is helpful as can help others.

Subscribe: https://www.youtube.com/channel/UCFpvUlpx84FuIPOdInGKMTw
Twitter: https://twitter.com/assist_365

Regards
Darren Lutchner - 365 Assist

GA2021
Helper I
Helper I

I am getting the below error now 

 

GA2021_1-1659331634317.png

 

365-Assist
Super User
Super User

Why do you need a Select? What is your flow trying to achieve?

GA2021
Helper I
Helper I

Hi 

its a table format .  when a quote is created i want it to go thru the approval process of multiple people approving . and as they receive all the table information in the email itself 

GA2021_0-1659331963789.png

 

v-liwei-msft
Community Support
Community Support

Hi @GA2021 ,

 

Could you please tell me:

Do you want to get a record returned by When an item is created instead of all records of the entire list? 

Because When an item is created returns a record instead of an array, it is not possible to use Select directly. 

You can use Get Items to filter out this record by ID (that comes with SharePoint) in the filter query. 

I have made a test for your reference:

1. This is my data source. 

vliweimsft_0-1659495873531.jpeg

 

2. Add Get Items and enter in filter query: 

vliweimsft_1-1659495891020.jpeg

 

3. Use Select:

vliweimsft_2-1659495901959.png

 

 

Best Regards,

Levi

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

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