Forum Discussion

vishnu1994's avatar
vishnu1994
Icon for Altostratus rankAltostratus
Aug 17, 2022

Help needed for As3 Declaration

Hi, I am trying to build a monitor using the AS3 Template and need \"STATUS\":\"allServicesOperative\" as my receive string  if use the below code after deploying it removed all the " marks and d...
  • xuwen's avatar
    Aug 23, 2022

     "receive""\"STATUS\":\"allServicesOperative\"", will removed all the " marks and deploys as STATUS:allServicesOperative

    chang to this "receive""\\\"STATUS\\\":\\\"allServicesOperative\\\"",
    in the GUI the result will be \"STATUS\":\"allServicesOperative\"
    you can enable AS3 controls.trace, controls.traceResponse, set its value to true and watch tmsh config process