This is one of the processors I ran when initially starting:
# these variables are autogenerated from your instance location
let enterprise = "GBTB"
let site = "BaySouth"
let area = "SB3"
let workcell = "zone 4"
let schema = "_historian"
# Parse the JSON payload
let payload = content().parse_json()
let value = if payload.Temp_Soil != null {
payload.Temp_Soil.string()
} else {
"unknown" }
# Set the tagname as the deviceName field from the JSON payload
let tagname = if payload.deviceName != null {
payload.deviceName.string()
} else {
"unknown"
}
I am pretty much lost and any guidance to solve my various issues would be most appreciated