Pattern: Google Cloud Platform (GCP) Virtual Server discovery - Step 'Populate cmdb_ci_vm_instance table with disk size' throws an error DescriptionThe issue is identified in pattern : Google Cloud Platform (GCP) Virtual Server When the VM is being terminated and we trigger a scan through an event. The step "Aggregate disk size by vm instance" may not trigger and then the next step won't have the variable 'diskHashMap' created as it is created through that previous step and then the step "Populate cmdb_ci_vm_instance table with disk size" fails with the following error: Populate cmdb_ci_vm_instance table with disk size JAVASCRIPT_CODE_FAILURE: Caused by error in Ad hoc script 'EvalClosure-Populate cmdb_ci_vm_instance table with disk size' at line 5 2: var diskHashMapVal = new Packages.java.util.HashMap(); 3: diskHashMapVal = diskHashMap; 4: var vm_name = cmdb_ci_vm_instance___name; ==> 5: var diskSize = parseInt(diskHashMapVal.get(vm_name)); 6: diskSize; . JAVASCRIPT_CODE_FAILURE: Caused by error in Ad hoc script 'EvalClosure-Populate cmdb_ci_vm_instance table with disk size' at line 5 2: var diskHashMapVal = new Packages.java.util.HashMap(); 3: diskHashMapVal = diskHashMap; 4: var vm_name = cmdb_ci_vm_instance___name; ==> 5: var diskSize = parseInt(diskHashMapVal.get(vm_name)); 6: diskSize;Cause"Aggregate disk size by vm instance" may not trigger as it has a precondition for $google_disks is not empty but the subsequent step lacks that precondition.ResolutionDownload the attached update set (sa_pattern_e0100022db442300d504788dbf961999.xml) and Import it to the affected instances. After Import synchronize the "Google Cloud Platform (GCP) - Virtual Server" with the MID Server