web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create SharePoint Item...
Power Automate
Unanswered

Create SharePoint Item greyed out along with Apply to Each

(0) ShareShare
ReportReport
Posted on by 27

What am I missing? Why does it do a foreach for creating an item and then it doesn't find an ID when getting individual items.

 

 

FailSafe_0-1618611877152.png

 

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at
    Re: Create SharePoint Item greyed out along with Apply to Each

    Does the value for either ‘Initialize variable’ action include dynamic content from the Get items action that precedes it?

     

    Also, what value do you have in the ‘From’ field in the ‘Apply to each’ actions? Are you using dynamic content from the ‘Get Items’ action or from the ‘Initialize variable’ action?

     

    I can better assist if I know the answers to these questions. However, in either case, the reason that the create item is greyed out is because the inputs returned a null value, so there was no data to create a new item with. 

  • FailSafe Profile Picture
    27 on at
    Re: Create SharePoint Item greyed out along with Apply to Each

    I've done this in another list with an OnPress from mobile where it was successful but the Apply to Each is ruining it even though it's successful.

     

    FailSafe_0-1618613320204.png

     

  • fchopo Profile Picture
    8,003 Moderator on at
    Re: Create SharePoint Item greyed out along with Apply to Each

    Hello @FailSafe 

    Could you explain in further detail which is the problem? You're getting some items from a SP list, and you're creating an item (don't know whether is the same SP list or not), that surely is using a value coming from the previous step, and that's the reason why it's adding an apply-to-each.

     

    I would replace the "Get Items" by a "Get Item".

    Hope it helps!

    Ferran

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 532 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 461 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 256

Last 30 days Overall leaderboard