ProbeHandlerMulti - Global

  • Rversion finale: Australia
  • Mis à jour 12 mars 2026
  • 1 minute de lecture
  • The ProbeHandlerMulti script include is a probe handler for multiprobes.

    This script include does not work with probe parameters that have value_scripts and does not work with JavaScript probes.

    You can use this script include in any server-side script where you need to configure a multiprobe.

    ProbeHandlerMulti - addParameters(String parent, String sysID, GlideRecord probe)

    Adds the probe parameters to the given XML parent element, taken from the given probe's parameter table.

    Tableau 1. Parameters
    Name Type Description
    parent String The XML parent element to add parameters to.
    sysID String The sys_id of the probe to get parameters from.
    probe GlideRecord Optional GlideRecord of the probe. If present, and there is a probe handler, it is called.
    Tableau 2. Returns
    Type Description
    void

    ProbeHandlerMulti - addProbes(String parent, String sysID)

    Adds the probes for this multiprobe to the document.

    Tableau 3. Parameters
    Name Type Description
    parent String The XML parent element to add the probes to.
    sysID String The sys_id of the multi-probe
    Tableau 4. Returns
    Type Description
    void

    ProbeHandlerMulti - run()

    Runs the probe.

    Tableau 5. Parameters
    Name Type Description
    None
    Tableau 6. Returns
    Type Description
    void

    ProbeHandlerMulti - runProbeHandler(String params, String sysID, GlideRecord probe)

    If the given probe's GlideRecord is present and contains a probe handler, runs the probe handler and adds any parameters it creates to the given parameter element.

    Tableau 7. Parameters
    Name Type Description
    params String The XML parameter element to add parameters to.
    sysID String The sys_id of the probe to get parameters from.
    probe GlideRecord Optional GlideRecord of the probe. If present, and there is a probe handler, it is called.
    Tableau 8. Returns
    Type Description
    void

    ProbeHandlerMulti - setParameter(String parent, String name, String value)

    Sets the value of a given XML parameter element.

    Tableau 9. Parameters
    Name Type Description
    parent String The XML parent element to add the parameter to.
    name String The name of the parameter to set
    value String The value to set the parameter to.
    Tableau 10. Returns
    Type Description
    void