I'm trying to get the file attachment extension from a file uploaded as an attachment to SP List using last(split(Check_if_Request_has_Attachments()?['file']?['name'], '.')) in a compose action.
It fails with
I have tried many many many variations of last(split(Check_if_Request_has_Attachments()?['file']?['name'], '.')) for hours now, nothing works, fails every time.
I can, but not sure if the lack of the condition is specifically the reason for the error? I have a get attachments action previously in the flow. What will the condition fix. In the test that I'm doing, the attachment exists, and I'm not looking to check if one exists or not: I need to check the file attachment name IF it exists.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.