UiPath - Pivot Table does not exist issue

Hi all,

I’m currently working on a workflow where its using the excel file and using the activity “Read Range”. When running the workflow, I get the message that the Pivot table does not exist. I stop the workflow and when I run it again, it actually completes the “Read Range” activity and pulls the desired metrics I need. I’m not sure why in the second time works, but not in the first

Context with the excel file thats being used- Its a file thats pulled from a shared file and uses the “Copy File” and “Rename File”

Any guidance would be appreciated, thank you

Here is the snippet of the error


Hi, @jinson.buri Try Just adding a short delay or put your Read Range inside a Retry Scope this makes sure the pivot is ready before reading and should fix the issue.

@jinson.buri
Looks like a sync issue..retry with a small delay would help

Also did you use excel process scope or use excel file directly?

Excel process scope properties have few settings which help in faster sync

Cheers

Hi @jinson.buri

Try to check in debug mode use highlight or add a breakpoint before Read range to verify if the pivot table exists in the sheet. You can also open the excel file manually during debugging to confirm the pivot table’s presence.

If helpful, mark as solution. Happy automation with UiPath

I don’t have the retry scope, but I did add a delay before the activity and received the same error

Hi, small delay was not able to resolve the issue. I use excel file directly, but I try the excel process scope and received same issue with small delay.

I’m not aware of debug mode as I don’t have the access to those tools. For breakpoint, are you referring to the break?

@jinson.buri

can you show your flow

cheers

Here is the flow where the excel sheet pulls from - its taken from a shared folder file.


Then here is the flow of read cell value and read range

@jinson.buri

if its only a copy of data what are you trying to read?

cheers