Skip to main content
Andoni_1
Navigator | Tier 3
Navigator | Tier 3
March 17, 2023
Solved

Cannot create a folder using Folder Create action

  • March 17, 2023
  • 19 replies
  • 662 views

Hello,

 

I am using A360 v27 (on-prem). Whenever I try to create a folder the bot gets stuck (infinitely running) and it does nothing. Any ideas why this could happen? (it happens same thing no matter which Folder package version I use)

Best answer by Andoni_1

Dear @Raul Jaimes,

I finally found the issue (as I experienced this both in my work laptop and my personal laptop I looked for “common” stuff that might be breaking it).

The culprit was a (disconnected, non-existent) network shared drive (I created a storage account in azure some time ago for testing, mapped it in both laptops and then deleted the storage account from azure, without removing the mapping from the laptops). This has caused the AA bot not a huge delay for creating/removing (basically writing) folders

 

Conclusion: I have disconnected the non-existent network drive from both laptops and “voilá”, the create folder action ran as expected

I will raise this to AA because it is extremely rare (as said, both UiPath and Power Automate Desktop were able to create/remove folders without any issue even though this disconnected shared drive was present)

19 replies

Navigator | Tier 3
March 21, 2023

@Andoni, I guess you’ve already done this, but just to double check - have you tried to use an older version of the “Folder” package?

Andoni_1
Navigator | Tier 3
Andoni_1Author
Navigator | Tier 3
March 21, 2023

@Robin 9003 yes, I tried with more than 6 different package version and same issue…

On top of that I have tried doing this same bot using my personal laptop + community edition and same issue occurs…(creation/deletion of a folder takes around 6-10 minutes)

@Raul Jaimes I have read some of your posts and you seem a savvy guy in terms of troubleshooting, what do you recommend?

Raul Jaimes
Navigator | Tier 3
March 21, 2023

Hi @Andoni 

In that same vein:

1.-Delete cache folder C:\ProgramData\AutomationAnywhere\GlobalCache

2.-Reinstall Bot Agent.

3..-Temporarily deactivate antivirus

4.-Increase the level logs to DEBUG if the issue persists

https://apeople.automationanywhere.com/s/article/A2019-How-to-enable-DEBUG-logs-for-Bot-Agent

Let us know the result

Regards

Andoni_1
Navigator | Tier 3
Andoni_1Author
Navigator | Tier 3
March 21, 2023

Hello @Raul Jaimes ,

 

Nothing, I’ve read the debug logs and nothing “strange”.

 

Same behaviour in both my company laptop (using company on-prem A360) and my personal laptop (using Community Edition CR). Bot is deployed but those actions that create/delete folders take forever (6-10 minutes...)

 

EDIT: FYI, I have tried this same thing usiing uipath studio and power automate (it works with both of them...)

Raul Jaimes
Navigator | Tier 3
March 21, 2023

@Andoni 

Weird. I’ve create a simple bot using the same actions  using Community Edition (https://community.cloud.automationanywhere.digital/) and i get the expected result.

 

i have some other ideas:

Discarded Antivirus ? using a Proxy or VPN ? Occurs the same with others bot actions ?

Change the path to C:\some_test   directly. 

What happen if you try to download the package from artifacts site ?

https://aai-artifacts.my.automationanywhere.digital/packages/bot-command-folder-6.5.0-20221003-160340.jar

Activate Developer tools in Chrome and try to identify what is the slowest result in the network section.

 

 

Let us know your feedback.

Regards

Andoni_1
Navigator | Tier 3
Andoni_1AuthorAnswer
Navigator | Tier 3
March 21, 2023

Dear @Raul Jaimes,

I finally found the issue (as I experienced this both in my work laptop and my personal laptop I looked for “common” stuff that might be breaking it).

The culprit was a (disconnected, non-existent) network shared drive (I created a storage account in azure some time ago for testing, mapped it in both laptops and then deleted the storage account from azure, without removing the mapping from the laptops). This has caused the AA bot not a huge delay for creating/removing (basically writing) folders

 

Conclusion: I have disconnected the non-existent network drive from both laptops and “voilá”, the create folder action ran as expected

I will raise this to AA because it is extremely rare (as said, both UiPath and Power Automate Desktop were able to create/remove folders without any issue even though this disconnected shared drive was present)

Raul Jaimes
Navigator | Tier 3
March 22, 2023

Hi @Andoni 

Good finding! Sounds a defect in A360 even in previous releases of packages. Let us know the feedback from Automation Anywhere. 

Regards

Andoni_1
Navigator | Tier 3
Andoni_1Author
Navigator | Tier 3
March 22, 2023

@Raul Jaimes I think their Folder package has some underlying Java code that maps all the drives in the Folder-Create and Folder-Delete actions, which causes a huge delay if your bot runner machine has a disconnected network shared drive mapped...I have already raised this to AA, let’s see if they do something about it!

Raul Jaimes
Navigator | Tier 3
March 22, 2023

@Raul Jaimes I think their Folder package has some underlying Java code that maps all the drives in the Folder-Create and Folder-Delete actions, which causes a huge delay if your bot runner machine has a disconnected network shared drive mapped...I have already raised this to AA, let’s see if they do something about it!

Thank you!