--- title: "system.opcua.confirm" description: "Confirms an OPC UA alarm condition." --- # system.opcua.confirm > Confirms an OPC UA alarm condition. This function is used in **Python Scripting**. ## Description Confirms an OPC UA alarm condition. The eventId is the raw EventId bytes of the event being confirmed, which an OPC UA event stream event publishes as its eventId metadata value. ## Client Permission Restrictions This scripting function has no [Client Permission](../../../ignition-modules/vision/vision-project-properties/vision-project-properties.md#vision-permissions-properties) restrictions. ## Syntax `system.opcua.confirm(connectionName, conditionId, eventId, [comment], [locale])` ### Parameters | Type | Parameter | Description | |---|---|---| | String | `connectionName` | The name of the OPC UA connection. | | String | `conditionId` | The nodeId of the condition instance to confirm. Accepts either the namespace index form (ns=2;i=1234), or the namespace URI form (nsu=urn:example;i=1234). | | Byte Array, ByteString, base64-encoded String | `eventId` | The eventId of the event being confirmed. Read from the event's eventId metadata value, which carries the raw bytes. An EventId field selected into an event's payload data is not a valid substitute. An empty EventId is forwarded to the server rather than rejected locally, so the returned StatusCode reports the server's verdict, typically `Bad_EventIdUnknown`. | | String | `comment` | A comment to include with the confirmation. Omit or pass None to send a null LocalizedText instead of a blank comment. [Optional] | | String | `locale` | The locale for the comment i.e., en-US. Defaults to an empty locale, and is ignored unless a comment is supplied. [Optional] | ### Returns **Tuple**: A tuple describing the StatusCode the server returned for the call: * 0: The code's numeric value, as an integer. * 1: The code's name, such as `Good` or `Bad_EventIdUnknown`. * 2: A description of the code. ### Scope Gateway, Perspective Session