Shared Folder Question

Hi Team,

I have a query regarding file picking.

  1. File has pick from sharefolder.
  2. Once file is disappear bot has continue to remaining steps.

Can you please provide me solution like flow or .Xaml file.

It will be helpful to my project.

Thnaks,
Venkatesh Cheeni

Hi @venkateshcheeni09

Could you elaborate? What do you mean by Disappear?

@venkateshcheeni09

You can create a loop for maximum interval and then inside that use a small delay and chekc if path exists ..if exists continue the loop else end the loop and move forward

Cheers

If possible can you send me .Xaml file. It will be helpful for my automation purpose.

@venkateshcheeni09

While loop with max iteration as 60 ..condition just write true

Insude loop delay 10 seconds

After that path exists with the shared folder path

If condition to check the output variable of path exists

On then side do nothing and on else side use break to exit the loop

Cheers

I have created the flow.. we don’t know when the file will be disappear … sometimes it will take two minutes or two days but next steps of automation should continue… and one more query is instead of delay is there any other activity we can use

Hi @venkateshcheeni09

Use the timeout.

Happy Automation

Hi Prasahant,

There is no timeout activity available.

@venkateshcheeni09

that is the reason loop is created for 60 loops with 10 seconds delay…this will check for every 10 seconds for maximum 10 minutes and if file is not found before it would break

the log message should say file found…because till disappear you need to wait

you can decrease the delay time and increase max iteration if you want to check more frequent than 10 seconds

cheers

Sure i will check.

Thanks

1 Like