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

No Dynamic Content from Get Items inside an Apply to Each w/ Condition

Hello,

 

The Flow below gets the items from a SharePoint List each night at midnight and then goes into an Apply to Each with a condition to check if a date column on the List is seven days away from todays date (that's the condition called If Seven Days Away).

 

If it IS seven days, away, I want to start an approval process and used Dynamic Content based on items in the SP List. However, I can't seem to get the Dynamic Content of the Get Items. All fields just have Current Item (see the Approval part of the screenshot below).

 

What am I missing?

 

This other thread had an answer but I couldn't replicate his success / exact methodology.

 

ComplianceFlow1.pngLayout of Flow

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: No Dynamic Content from Get Items inside an Apply to Each w/ Condition

Hi @kristof805 ,

 

It is preliminarily concluded that you may have set the view in SharePoint list, so some of the columns may not be displayed in Dynamic content list.

 

You could first set Limit Columns by View in Get items to "Use all columns (Do not limit)" and then check if you can use Dynamic content.7.PNG

If See more appears, click See more to display all Dynamic content.

 

If the above method does not work, you could try to use Expression to get the field value.

Like:

Created By Email:  item()['Author']['Email']

Link to item:      item()['{Link}']

Image reference:

6.PNG

Please take a try.

 

Best Regards,

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.
2 REPLIES 2
Community Support Team
Community Support Team

Re: No Dynamic Content from Get Items inside an Apply to Each w/ Condition

Hi @kristof805 ,

 

It is preliminarily concluded that you may have set the view in SharePoint list, so some of the columns may not be displayed in Dynamic content list.

 

You could first set Limit Columns by View in Get items to "Use all columns (Do not limit)" and then check if you can use Dynamic content.7.PNG

If See more appears, click See more to display all Dynamic content.

 

If the above method does not work, you could try to use Expression to get the field value.

Like:

Created By Email:  item()['Author']['Email']

Link to item:      item()['{Link}']

Image reference:

6.PNG

Please take a try.

 

Best Regards,

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.
kristof805
Level: Powered On

Re: No Dynamic Content from Get Items inside an Apply to Each w/ Condition

@v-bacao-msft thank you for the reply. Somehow my list was removed from the Get Items step on my Flow so that's why I could not reference it further down the steps. Once I re-added the list into the Get Items steps, I was able to call the specific columns I wanted inside the Apply to Each step.

 

Thank you for your reply.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 429 members 5,224 guests
Please welcome our newest community members: