Default language.

Important This documentation space contains information about the on-premises version of BMC Helix Discovery. If you are using the SaaS version of BMC Helix Discovery, see BMC Helix Discovery (SaaS).

system.cmdbSync


system.cmdbSync(nodes)

Adds the given root node or list of root nodes to the CMDB synchronization queue for all sync connections where continuous synchronization is enabled.

Where:

  • nodes – a root node or a list of root nodes to be added to the CMDB synchronization queue.

The following example code is an except from the VMware_Event_Functions pattern module:

to_sync := list(); // List of things to sync to the CMDB

// add some nodes to the list
list.append(to_sync, source_host);

if to_sync then
    log.debug("Sync changes to the CMDB");
    system.cmdbSync(to_sync);
end if;

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*