Hey Everyone,
I'm hoping that someone here can assist. I intend to create a flow that auto-adds a project ID number to an item on my Sharepoint / Microsoft List.
I found this piece of code that helps to create the project ID number (it pulls the form ID number and formats it into the 5-digit number).
add(triggerBody()?['ID'],00000)
I want to add onto this and format it the project ID number in the following way:
YY-00000
Example: 22-00001
The 22 is the year. So, I would switch this January 1st every year to update the numbers.
I'm certain this is a super easy fix, I just don't know coding well enough to figure out what I need to do.
Thank you in advance!