Hello everyone,
I have a list in Sharepoint online which contains all of our used PCs. There is one column called "Asset ID" for which I need a flow to auto generate an ID containing the letters "PC-" and a number, e.g. "PC-10001". Everytime a new item is created the flow should create a new ID in this schema, incrementing the number by 1.
But this should be done without using the out of the box ID column!
A colleague advised me to use the get items action, sort the already existing Asset IDs in descending order and then take the highest one and add 1 to it. But I don't get how this should be done since the ID is a string with both letters and numbers and which actions are to be used for that.
I already tried using variables and the substring method but whatever I did, it always ran into an error.
Did somebody already do a similar task and can help me?
Thanks in advance!