Member since
02-20-2022
1
Post
0
Kudos Received
0
Solutions
02-20-2022
05:31 PM
I've added a "remove" operation to the chain to solve the problem I mentioned in the last post, removing the "null" in the first position of the "measures" array: [
{
"operation": "shift",
"spec": {
"LevelID": "assetId",
"PLCTime": "datapoints[0].timestamp",
"Data*Type": "datapoints[0].measures[&(0,1)].name",
"Data*": "datapoints[0].measures[&(0,1)].value"
}
},
{
"operation": "remove",
"spec": {
"datapoints": {
"*": {
"measures": {
"0": ""
}
}
}
}
}
] This should give you the exact output you were looking for. HTH, André
... View more