search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Scheduler Resource Tree flat hierarchy

Asked by daniels
6 years ago.

Hi,

Is there a way for Scheduler to accept a Resource Tree in the form of a flat tree hierarchy instead of a nested hierarchy?

Like this:

[
{
resourceID: 1,
parentID: undefined
},
{
resourceID: 2,
parentID: 1
},
{
resourceID: 3,
parentID: 1
},
]

Instead of this:

[
{
resourceID: 1,
children:
[
{
resourceID: 2,
children: []
},
{
resourceID: 3,
children: []
}
]
}
]

This question is more than 1 months old and has been closed. Please create a new question if you have anything to add.