Hi, I have this data, and i would need to find out the “path” with highest “depth” and write it to “category_path” in the root.
{
“category_tree_result”:[
{
“id”: “ACKA_SE_STANDARDNIM_POTISKEM”,
“path”: “ACKA_SE_STANDARDNIM_POTISKEM”,
“depth”: 1
},
{
"id": "ACKOVE_STOJANY_SE_STANDARDNIM_POTISKEM",
"path": "PRINT_MENU | Poster_Banner_Printing | ACKOVE_STOJANY_SE_STANDARDNIM_POTISKEM",
"depth": 3
},
{
"id": "Poster_Banner_Printing",
"path": "PRINT_MENU | Poster_Banner_Printing",
"depth": 2
}
]
}