cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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.

View solution in original post

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.

View solution in original post

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
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 (Last 30 Days)
Users online (4,636)