Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Hierarchy: The expanding nodes don't stop

What is wrong when I run the code below in the attached QVD.

The expanding nodes don't stop.

      Test:

      Hierarchy(SCC_ID, SCC_IDpai, SCC_descricaoplanocontas,ParentName,SCC_descricaoplanocontas,Path,'/',Depth)

      Load * from C:\TEMP15.qvd (qvd);

13 Replies
sundarakumar
Specialist II
Specialist II

Hi Erlen,

Can u pls explain the problem, PFB i find it working correct

Capture.PNG

-Sundar

Not applicable
Author

Hello.

In my case, the script never stops and the data are growing.

Thanks.

Untitled.png

marcus_malinow
Partner - Specialist III
Partner - Specialist III

I tried your script also and it worked just fine

Test-NodeList << TEMP15 (qvd optimized) 9,612 lines fetched

Test << ExpandedLeaves 26,508 lines fetched

Not applicable
Author

Very strange. I'll keep trying.

sundarakumar
Specialist II
Specialist II

Then u kill the process to stop it. How long is it running?

in my case it was done in 2 seconds.

-Sundar

Not applicable
Author

When I press "Abort", the script execution stops  immediately.

Not applicable
Author

The execution enter in a infinity loop.

Capture.PNG.png

sundarakumar
Specialist II
Specialist II

try reloading the app only with the three mandatory fields for hierarchy...

Capture.PNG

-Sundar

Not applicable
Author

Not Work.

I've tested it on 3 different machines and not work at all. the script never stops.