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

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.

2 REPLIES 2
Community Support
Community Support

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.

I love you 🙂 .... with c-sharpcorner IT works like a charm 😉

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

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!

Top Solution Authors
Users online (12,423)