hi all,
I created a simple schedule flow that should advise with an email for a new file creation in Onedrive folder (/Documents/Notifications)
step 1:
i selected "Automated cloud flow" > created the recurrency - ok
when i need to select the file name, i want to use the dynamic content (every time is a different file name) so i put this string:
'split(triggerBody()?['/Documents/Notifications'],'/').last()'. and i got this error:
"One or more fields provided is of type 'Null', a different type is expected."
what the problem? is the the string?
any of those strings doesn't work:
split(triggerBody()?['/Documents/Notifications'],'/')
or
last(split(triggerBody()?['path'], '/'))
or
last(split(triggerBody()?['/Documents/Notifications'], '/'))

the error

Thanks !