Skip to main content
Solved

Not getting value when using the Select Folder element in Form

  • May 29, 2025
  • 2 replies
  • 57 views

Forum|alt.badge.img+5

I'm using the Select Folder element in a form, but the BOT is not receiving the selected/mapped value. Any help would be greatly appreciated.

Note: I am using “Interactive Form” package to get the value.

@Automation Anywhere  Select Folder element is not working with Co-Pilot.

 

Best answer by JLogan3o13

It looks like you’re enabling Folder1, and then immediately calling for the value before someone can actually Browse to the folder. You need to add in a second check of some sort. There are a lot of different ways you could do it, but here is one simple way to show you what I mean.

I created the same form (minus the second ‘Select folder’ link):

 

This code works for me, with a simple While loop until the value of the folderPath is not null. Again, depending on your exact needs there are different ways to do this, but this should give you an idea.

 

 

2 replies

Forum|alt.badge.img+17
  • Most Valuable Pathfinder
  • Answer
  • May 29, 2025

It looks like you’re enabling Folder1, and then immediately calling for the value before someone can actually Browse to the folder. You need to add in a second check of some sort. There are a lot of different ways you could do it, but here is one simple way to show you what I mean.

I created the same form (minus the second ‘Select folder’ link):

 

This code works for me, with a simple While loop until the value of the folderPath is not null. Again, depending on your exact needs there are different ways to do this, but this should give you an idea.

 

 


Forum|alt.badge.img+5
  • Author
  • June 2, 2025

Oh got it, basically it is taking some time to reflect the value which was selected.

It is working fine as expected.

Thanks