Not able to create folder in folder on Box

Hi - I’m trying to create a folder on Box and then trying to create another one inside this parent folder. Somehow, I’m not able to create this second folder inside parent folder. Please guide.

  • Chaitanya

@Tambe_Chaitanya,

Welcome to the UiPath forum.

Please share the error you are getting.

Thanks,
Ashok :slight_smile:

Hi @Tambe_Chaitanya

→ After creating the First Folder, Use the Folder exist activity to check the parent folder exist or not. The output of Folder exist is Boolean, let’s call the variable name as Bool_Flag.

→ After folder exist activity use the If condition to check the Bool_Flag. Give the below condition in IF,

Bool_Flag = True

→ In Then block insert the Create folder activity to create a sub folder named Chitanya in Parent folder.
→ In Else block insert log message activity and write the Parent folder not exist. Then the Parent folder not exist then you will get the message in output panel.

Hope it helps!!

Thanks for the help. I’m using Box from my browser and therefore the Folder Exists activity may not be working. I tried that and it gives Bool_Flag = False.
Or there could be another reason - The folder does not show up until you refresh the Box window. I need to find some activity that would refresh the Box to show the newly created parent folder.

Then you have to use the Ui activities to refresh the box… @Tambe_Chaitanya

Are you able to use Ui activities in your workflow…?

Let me check and revert in some time

No, it does not work

@Tambe_Chaitanya,

Update the Package to recent version. There was recent hotfix released for this package. Try after update.

Thanks,
Ashok :slight_smile:

Installed both
image

I also got Box drive installed on my desktop. Earlier I was using browser.
Still it is not working. The folder exists activity returns false for the parent folder where I want to create any of these folders.

The newly created folder does not reflect immediately like normal windows folder.
I even tried the triggger activity (Folder Created) but of no use.
Not sure what is wrong.

It is finally resolved. I was using Create Folder activity form Box services. Now, I used Create Folder from Windows Folder Services.
Thanks everyone for all your support.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.