You might want to try with the below configuration once:
Here, I have added the get file metadata with path and used the display name in the expressions so that it works as expected.
expressions:
Condition Left: first(split(body('Get_file_metadata_using_path')?['DisplayName'],'_'))
COndition Right: utcNow('dd-MM-yyyy')
File Name: utcNow('dd-MM-yyyy')
Hope this Helps!
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2