{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":1087,"path":"api-reference/server-api-reference/c_ProbeHandlerMultiAPI.md","title":"ProbeHandlerMulti - Global","bundle":null,"doc_type":null,"release":"australia","body":"\n# ProbeHandlerMulti- Global\n\nThe ProbeHandlerMulti script include is a probe handler for multiprobes.\n\nThis script include does not work with probe parameters that have value\\_scripts and does not work with JavaScript probes.\n\nYou can use this script include in any server-side script where you need to configure a multiprobe.\n\n**Parent Topic:**[Server API reference](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/api-reference/server-api-reference/api-server.md)\n\n## ProbeHandlerMulti - addParameters\\(String parent, String sysID, GlideRecord probe\\)\n\nAdds the probe parameters to the given XML parent element, taken from the given probe's parameter table.\n\n|Name|Type|Description|\n|----|----|-----------|\n|parent|String|The XML parent element to add parameters to.|\n|sysID|String|The sys\\_id of the probe to get parameters from.|\n|probe|GlideRecord|Optional GlideRecord of the probe. If present, and there is a probe handler, it is called.|\n\n|Type|Description|\n|----|-----------|\n|void| |\n\n## ProbeHandlerMulti - addProbes\\(String parent, String sysID\\)\n\nAdds the probes for this multiprobe to the document.\n\n|Name|Type|Description|\n|----|----|-----------|\n|parent|String|The XML parent element to add the probes to.|\n|sysID|String|The sys\\_id of the multi-probe|\n\n|Type|Description|\n|----|-----------|\n|void| |\n\n## ProbeHandlerMulti - run\\(\\)\n\nRuns the probe.\n\n|Name|Type|Description|\n|----|----|-----------|\n|None| | |\n\n|Type|Description|\n|----|-----------|\n|void| |\n\n## ProbeHandlerMulti - runProbeHandler\\(String params, String sysID, GlideRecord probe\\)\n\nIf 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.\n\n|Name|Type|Description|\n|----|----|-----------|\n|params|String|The XML parameter element to add parameters to.|\n|sysID|String|The sys\\_id of the probe to get parameters from.|\n|probe|GlideRecord|Optional GlideRecord of the probe. If present, and there is a probe handler, it is called.|\n\n|Type|Description|\n|----|-----------|\n|void| |\n\n## ProbeHandlerMulti - setParameter\\(String parent, String name, String value\\)\n\nSets the value of a given XML parameter element.\n\n|Name|Type|Description|\n|----|----|-----------|\n|parent|String|The XML parent element to add the parameter to.|\n|name|String|The name of the parameter to set|\n|value|String|The value to set the parameter to.|\n\n|Type|Description|\n|----|-----------|\n|void| |\n\n"}}