cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Philippe_D13
Helper I
Helper I

Echec condition Flux desktop

Hello,

I create a flow to detect the creation of a file and I want to catch the name of this file to test if present and start a new action.

Here below the screenshot.

The flow end with an error when the file is created, do you know what is problem ?

Philippe_D13_0-1655732942820.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Philippe_D13
Helper I
Helper I

It works perfectly , you're the Ankesh 😁💪

View solution in original post

15 REPLIES 15
Henrik_M
Super User
Super User

There's a better chance of getting help if:

  1. You show the error.
  2. Post in the right forum.
  3. Switch language to English, so most people can have a better idea of what's going on.
  4. 😊 

Hello Henrik,

I have publish the error , you will find below the text for it :

"status"404,
  "message""The resource could not be found.\r\nclientRequestId: db9901b5-5caf-4bc4-8985-f8c59730edc4\r\nserviceRequestId: d04c63d0-bb6e-4b16-bf51-9419a6d7c600",
  "error": {
    "message""The resource could not be found."
  },
  "source""excelonline-we.azconn-we-002.p.azurewebsites.net"
}
Regards
Ankesh_49
Super User
Super User

@Philippe_D13  Could you please act on the suggestion by @Henrik_M 

However, based on your screenshot. Below is my recommendation:

Ankesh_49_0-1655798890594.png

 

Cheers,

Ankesh

--------------------------------

If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Thanks Ankesh,

what I want to do with my test is to detect when a file is create "Appareils ECME GR1.xlsx" and if it is présent in the folder "C:\Users\Dumasdelage\OneDrive - TDF SAS\5-ECME\Information planification" , I want to create a Table.

Philippe_D13_0-1655801268816.png

 

Regards

Ankesh_49
Super User
Super User

@Philippe_D13 Did you give it a try, above screenshot actions?

Yes but there is 2 operations in "the apply to each " one is true the other false.

Even with the true condition the action is not realized :

Philippe_D13_0-1655801821853.png

 

Ankesh_49
Super User
Super User

@Philippe_D13 Plz help me to help you. Would you mind switching the language to English in power automate settings and ask your queries. 
It’s very difficult to comprehend, your issue. 

hope you understand. 

Thanks

Ankesh

Ankesh_49
Super User
Super User

@Philippe_D13 I believe you should provide sheetname!range in Table range input field. 

Hope it helps!!

 

Cheers,

Ankesh

--------------------------------

If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

 

 

Here is the the screenshot in english , with the error details

Philippe_D13_0-1655805106561.png

 

Philippe_D13_1-1655805201696.png

 

 

 

Ankesh_49
Super User
Super User

@Philippe_D13 

Here you go, 2 possible solutions:

 

1. Add "Get file metadata" action in your flow as below and use its output 'Display name' in your condition to verify.

Ankesh_49_0-1655809289990.png

 

2. File name is encoded, use expressions to get encoded file name as shown below. In this case you wont have to use 'get file metadata' action.

 

Ankesh_49_1-1655809830966.png

 

Hope it helps!!

 

Cheers,

Ankesh

--------------------------------

If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Ankesh_49
Super User
Super User

@Philippe_D13 Is your problem resolved?

Cheers,

Ankesh

--------------------------------

If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Hello Ankesh,

the message error is the same as you can see below :

Philippe_D13_0-1655885757329.png

 

Ankesh_49
Super User
Super User

@Philippe_D13 Ok perfect, condition issue is resolved. 

Now the issue is with create table action, please refer below screenshot:

 

Ankesh_49_0-1655887325189.png

 

Cheers,

Ankesh

--------------------------------

If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Philippe_D13
Helper I
Helper I

It works perfectly , you're the Ankesh 😁💪

Ankesh_49
Super User
Super User

@Philippe_D13 Glad it helped.👏

 

Cheers,

Ankesh

--------------------------------

If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,352)