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

Create SharePoint item with incremental integer ID # every time?

Hi all,

 

I am trying to create a new SharePoint item in a list every time an email is sent. I have all the other parts of the Flow working correctly but had a question about something.

 

When the Flow finally creates the SharePoint item, I need a way for it to make it unique to other items in the list, for example:

 

Let's say it is a daily flow every 24 hours - everyday when a record is created I would like for one of the text fields in the item to say "J" followed by a number of occurences. So if this week was the first - next Monday should be J8, then the following Monday would be J14 and so on so on - I.E. J+1...+1...+1.

 

Any idea on how I can do this? Thanks.

1 REPLY 1
Community Support Team
Community Support Team

Re: Create SharePoint item with incremental integer ID # every time?

Hi @SolarWill,

 

Increment variable would be a good choice for your scenario.

 

Here is a blog on how to auto increment an existing column in SharePoint Online using Flow, please check it at here for more details:

https://www.c-sharpcorner.com/article/how-to-auto-increment-an-existing-column-in-sharepoint-online-...

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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 (5,809)