I created a flow.
It puts the files/subfolders properties (ID, filename, uploader etc) from a specific folder into a Sharepoint list.
I put the file IDs into filearray.
I put file IDs (column called FILE-ID) from a SharePoint list into listarray.
The problem is the following:
filearray looks like this: [222,225,221,230]
listarray looks like this: ["222","225","221","230","240"]
The column type is single-line text. I tried to change to number but it adds .0 to the value.
I'd like to compare the two arrays but because of this "it always shows differences.
How can I remove/add " from the values of the arrays?
It's working.
Thank you.
Hi @gabororsi
Your compose int() expression step should be inside the loop and the append step as well. What we are trying to do here is converting the string into an int.
Thanks
Thanks for the help so far.
Hi @gabororsi
Thanks so next step try to append using the above output from the compose by converting to int()
Hi @gabororsi
Nearly there. Expand the compose step under the run history. I am interested in that.
Thanks
Is this how you thought?
Hi @gabororsi
Add a compose above the append array and map the value. Do not use the int() conversion. Run the flow and see what value it returns. Let me know the results or the screenshot of your flow run history.
Thanks
Hi @gabororsi
Above when you map the File-Id under the append array try to convert to integer using expression int()
Thanks
WarrenBelz
146,660
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional