cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
rajanetha
Level: Powered On

Get all items and filtering them

I have a list where the flow should be triggered when RUN column is YES.

After that, it should get all BODY column items of the current list where PushNotificationID column value equal to the current item PushNotificationID column value and mail to a specific user.

 

I need to send the output in json.

 

For ex: Created a item(5th item) where RUN column is YES. Now the flow triggers and I want the BODY column of 2nd,4th and 5th items as PushNotificationID is same as the current item and it should be mailed in JSON format.

 

Thanks and let me know if you have any queries. 

 

Flow.PNG

 

1 REPLY 1
Community Support Team
Community Support Team

Re: Get all items and filtering them

Hi @rajanetha,

 

I am afraid I need more explanation about "PushNotificationID column value equal to the current item PushNotificationID column value".

I want to know what the "the current item" refers to. Is "current item PushNotificationID column value" another column?

Could you provide more information about your screening of items?

Also, depending on your description, your Flow may be created like this:

  Use When an item is created as trigger, set Condition, and only execute the following action when the value of Run column is equal to "yes".

  Use Get items to filter and get the corresponding items. (I need you to provide specific filters to provide specific configuration).

  Use Select to get all the values of the specified column.

  Configure Compose to store the output of Select action, as the body of the mail, the output of select is the data in JSON format.

  You could also consider using attachments to store these contents in a JSON file.

4.PNG5.PNG

Please provide more details about filtering items and which should be helpful for me to share a further suggestion.

 

Best Regards,

Barry

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

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 102 members 5,463 guests
Recent signins:
Please welcome our newest community members: