2 Replies Latest reply on Jul 15, 2014 4:33 PM by jw614h RSS
    Explorer

    Find the connection status using groovy

    Does this property(in Bold):

     

    AssetCriteria assetCriteria = new AssetCriteria();

    assetCriteria.setModelNumber(parameters.model);

    FindAssetResult result = assetBridge.find(assetCriteria);

    List assets = result.getAssets();

     

    assets.each() {

        if (it.isOffline()){

            row.put("Status", "Not Connected");

        }else{

            row.put("Status", "Connected");

        }

    }

     

    correlate to this platform column (circled in yellow):

    Capture.PNG

    because I'm getting back false for every asset on the platform.

    Thanks

    Jay