How to check file names using condition or any other action

Podili Vijay 20 Reputation points
2023-02-27T16:43:20.23+00:00

My logic app has different actions each action will maintain different paths so if the file will upload the path that action will only excecute reaming all are excute false my paths are like these shared documents/folder/2023/02/23, shared documents/input/2023/02/23/input files these like . @MayankBargali-MSFT did you know these one

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,543 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,936 Reputation points Moderator
    2023-03-02T07:49:27.55+00:00

    @Podili Vijay Yes you can leverage triggerBody()['{Name}'] to check it with your fileName and for filename with extension you can leverage triggerBody()['{FilenameWithExtension}']

    Let me know if you need any assistance.

    Please accept as "Yes" if the answer is helpful so that it can help others in the community. If you need any help/clarification/concerns/follow up questions, then please click on "Add Comment" on my answer and provide more details.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.