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

Udpate item on sharepoint list

Hi all

 

I am trying to update an item with a flow considering the ID.

 

Once I create an item, the flow should concatanate a "TP" with the ID that sharepoint assigns automatically.

 

Example:

 

tccc.png

 

Flow is:

 

TPID.PNG

 

when I run the flow it goes from 1 to 100 only, but should go beyond 100.

 

 

tpid update.PNG

Thanks. 

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

@diegoandre10 

By default, Get items returns only 100 items.  If you are using the Flow license that comes with Office 365, you can set it up to a maximum of 5,000 items.  If you have a premium license, the maximum is somewhere above 200K.

To change the maximum number of items that will be returned, click on the ellipsis for the action and then click on settings.  Then turn pagination on and set the threshold to a maximum of 5,000 (for a non-premium license). Make sure that you click on Done when you are finished.

MaxItems1.jpgMaxItems2.jpg

 

Going forward, I think you would be better off creating a Flow that runs when a new item is created and setting the Project ID at that time.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

3 REPLIES 3
Super User III
Super User III

@diegoandre10 

By default, Get items returns only 100 items.  If you are using the Flow license that comes with Office 365, you can set it up to a maximum of 5,000 items.  If you have a premium license, the maximum is somewhere above 200K.

To change the maximum number of items that will be returned, click on the ellipsis for the action and then click on settings.  Then turn pagination on and set the threshold to a maximum of 5,000 (for a non-premium license). Make sure that you click on Done when you are finished.

MaxItems1.jpgMaxItems2.jpg

 

Going forward, I think you would be better off creating a Flow that runs when a new item is created and setting the Project ID at that time.

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

View solution in original post

Awesomeeee

 

Thanks a lot. When you say "Going forward, I think you would be better off creating a Flow that runs when a new item is created and setting the Project ID at that time."

 

You mean is better not to have a flow? I wanted to use the project ID as the way of updating an item via Forms. 

 

Lets say you open the form, you will be asked for the project ID, you type it and then you update the sharepoint list. You think is not necessary the update project id flow?

 

Thanks!

@diegoandre10 

First, if you want to use a Flow, it makes more sense to me to set the column value when a new item is created rather than using a recurrence trigger.

The ID that SharePoint  assigns is what you said you are using - that will never change so your users should have no reason to edit the column.  I would consider customizing the forms with PowerApps and making that column read-only.

 

Finally, if you are using the I'D that is assigned by SharePoint, you could make it much more simple by using a calculated column.  That would eliminate the need for a Flow.

 

Just my opinion....

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (25,465)