See my answer in the SO.
Thanks
Roman
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
My IOT hub receives telemetry message from kepserver in the format
{
"CNC-Model_Performance.CNC-Model_KPI-Prameters.Station_Idle":false,
"CNC-Model_Performance.CNC-Model_KPI-Prameters.Ideal_Cycle_time":120,
"CNC-Model_Parameters.CNC-Model_Prameters-Alarms.Alarms.SPINDLE MPCB TRIPPED":false,
"CNC-Model_Parameters.CNC-Model_Prameters-Alarms.Parameters.Coolant Temperature":0,
"CNC-Model_Parameters.CNC-Model_Prameters-Alarms.Alarms.Hydraulic Motor Current is High":false,
"CNC-Model_Parameters.CNC-Model_Prameters-Alarms.Parameters.Incoming Voltage":0
}
I need to route the data to a service bus if the SPINDLE MPCB TRIPPED is true or Hydraulic Motor current is High is true.
I am not able to put the correct route syntax as the tags has dot and spaces present and i am not able to override them .
So putting a condition like this $body.CNC-Model_Parameters.CNC-Model_Prameters-Alarms.Alarms.SPINDLE MPCB TRIPPED = true is not working . Any ideas ?