
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.
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.
Please provide more details about filtering items and which should be helpful for me to share a further suggestion.
Best Regards,
Barry