Thank you for visiting my site!

Folder

Create Folder Name

 

concat('foldrName: ', triggerOutputs()?['body/{Name}'],' - ', 'path to folder: ', triggerOutputs()?['body/{Path}'])
//-----------
//foldrName: subfolder 11 - path to folder: DocSubfoldder/folder 1/
//-----------
 
 
split(triggerOutputs()?['body/{Path}'],'/')
//-----------
//["DocSubfoldder","folder 1",""]
//-----------
 
 
length(split(triggerOutputs()?['body/{Path}'],'/'))
//-----------
//3
//-----------

 
take(split(triggerOutputs()?['body/{Path}'],'/')  ,sub(length(split(triggerOutputs()?['body/{Path}'],'/')), 1))
//-----------
//["DocSubfoldder","folder 1"]
//-----------
 
skip(take(split(triggerOutputs()?['body/{Path}'],'/')  ,sub(length(split(triggerOutputs()?['body/{Path}'],'/')), 1)),1)
//-----------
//["folder 1"]
//-----------

 

Check if is a folder

 

ADD YOUR COMMENT