cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper IV
Helper IV

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.

 

Layout of FlowLayout of Flow

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

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
Highlighted
Community Support
Community Support

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

Highlighted

@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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Top Kudoed Authors
Users online (11,301)