---
sourceDocument: Xanadu API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/api-reference

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# ProbeHandlerMulti - Global

# ProbeHandlerMulti - Global {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 1, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

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) {#ariaid-title2}

Adds the probe parameters to the given XML parent element, taken from the given probe's
parameter table.
{#r_PHM-addParameters_S_S_GR__table_s3g_lvq_5t__entry__3}

| 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. |
[Table 1. Parameters]

{#r_PHM-addParameters_S_S_GR__table_s3g_lvq_5t} {#r_PHM-addParameters_S_S_GR__table_t3g_lvq_5t__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 2. Returns]

{#r_PHM-addParameters_S_S_GR__table_t3g_lvq_5t}

## ProbeHandlerMulti - addProbes(String parent, String sysID) {#ariaid-title3}

Adds the probes for this multiprobe to the document.
{#r_PHM-addProbes_S_S__table_ggf_z5q_5t__entry__3}

| Name | Type | Description |
|-|-|-|
| parent | String | The XML parent element to add the probes to. |
| sysID | String | The sys_id of the multi-probe |
[Table 3. Parameters]

{#r_PHM-addProbes_S_S__table_ggf_z5q_5t} {#r_PHM-addProbes_S_S__table_hgf_z5q_5t__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 4. Returns]

{#r_PHM-addProbes_S_S__table_hgf_z5q_5t}

## ProbeHandlerMulti - run() {#ariaid-title4}

Runs the probe.
{#r_PHM-run__table_gyj_c5q_5t__entry__3}

| Name | Type | Description |
|-|-|-|
| None |   |   |
[Table 5. Parameters]

{#r_PHM-run__table_gyj_c5q_5t} {#r_PHM-run__table_hyj_c5q_5t__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 6. Returns]

{#r_PHM-run__table_hyj_c5q_5t}

## ProbeHandlerMulti - runProbeHandler(String params, String sysID, GlideRecord probe) {#ariaid-title5}

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.
{#r_PHM-runProbeHandler_S_S_GR__table_msv_1wq_5t__entry__3}

| 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. |
[Table 7. Parameters]

{#r_PHM-runProbeHandler_S_S_GR__table_msv_1wq_5t} {#r_PHM-runProbeHandler_S_S_GR__table_nsv_1wq_5t__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 8. Returns]

{#r_PHM-runProbeHandler_S_S_GR__table_nsv_1wq_5t}

## ProbeHandlerMulti - setParameter(String parent, String name, String value) {#ariaid-title6}

Sets the value of a given XML parameter element.
{#r_PHM-setParameter_S_S_S__table_ixw_4wq_5t__entry__3}

| 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. |
[Table 9. Parameters]

{#r_PHM-setParameter_S_S_S__table_ixw_4wq_5t} {#r_PHM-setParameter_S_S_S__table_jxw_4wq_5t__entry__2}

| Type | Description |
|-|-|
| void |   |
[Table 10. Returns]

{#r_PHM-setParameter_S_S_S__table_jxw_4wq_5t}

