> ## Documentation Index
> Fetch the complete documentation index at: https://notevil.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# CAPLfunctionOnSOMEIPEventGroupUnsubscribed

# on SOMEIP\_EventGroupUnsubscribed (obsolete)

[Valid for: CANoe DE](../../../Shared/FeatureAvailability.md)

## Function Syntax

```
On SOMEIP_EventGroupUnsubscribed <EventGroup>;
```

## Description

The event procedure is called at the provider when an event group is unsubscribed by a consumer and SOME/IP binding is used.

## Parameters

* **`<EventGroup>`**: Designates the event group on which the event procedure shall react. This must be a provider endpoint.

## Selectors

* **consumer**: Consumer, the type is [serviceConsumerRef \*](../Objects/CAPLfunctionServiceConsumerRef.md)

## Example

```plaintext theme={null}
on SOMEIP_EventGroupUnsubscribed MirrorAdjustment[LeftMirror].AllEvents
{
  write("Event group unsubscribed by %s", this.consumer.Name);
}
```

[Programming with the Communication Concept (C#, Python and CAPL)](../../../CANoeCANalyzer/CommunicationConcept/Programming/CCP.md) • [on SOMEIP\_EventGroupSubscribed](CAPLfunctionOnSOMEIPEventGroupSubscribed.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.