Skip to content

Update notifications plugin - #2851

Open
lisajulia wants to merge 3 commits into
mainfrom
feat/update-notifications-plugin
Open

Update notifications plugin#2851
lisajulia wants to merge 3 commits into
mainfrom
feat/update-notifications-plugin

Conversation

@lisajulia

Copy link
Copy Markdown
Contributor
  • Update link to notifications plugin: add alpha label for Java
  • Add optional database storage for Java

@lisajulia
lisajulia force-pushed the feat/update-notifications-plugin branch from bad8243 to 10006b8 Compare September 2, 2026 06:43
Comment thread plugins/index.md
Comment on lines 365 to 380
Alternatively, for Java you can use declarative `@notifications` on entities to trigger notifications automatically without writing handler code:

```cds [Java]
service IncidentService {
@notifications : [{
type : 'IncidentCreated',
on : ['CREATE'],
recipients : $self.createdBy,
parameters : {
title : $self.title,
customer : $self.customer
}
}]
entity Incidents as projection on my.Incidents;
}
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this still only work for Java? @eric-pSAP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants