Hi,
You can use the AEM Notifications API to send inbox notifications in a custom AEM workflow process step. To use this API, you will need to create a notification message and specify the user or group who should receive the notification. The message can be customized based on different conditions in your workflow process.
Here's an example code snippet for sending a notification:
// Get the notification service
NotificationsService notificationsService = sling.getService(NotificationsService.class);
// Create a notification message
Notification notification = notificationsService.createNotification("Workflow Notification Title", "Workflow Notification Message", NotificationSeverity.MINOR);
// Set the user who should receive the notification
notification.setRecipient(user);
// Send the notification
notificationsService.sendNotification(notification);