Advertisement
Split file name and folder path in Power Automate
While we are working with document library we need to validate the folder path or file names in that case we need to get the data in a variable.
Initialize a variable and use compose actions to split the folder path and file name as pe the below screen shot.
Filename expression : last(split(variables('varpath'),'/'))
Folder Path expression : first(split(variables('varpath'),outputs('filename')))
Hope this will helps.
0 comments:
Post a Comment