Skip to content

Get Unread Notification

Properties

This activity does not require any input properties, as it operates on the current user context to retrieve the unread notification count.

Usage

  1. Setup Activity:
  2. Add the "Get Unread Notification Count" activity to your UiPath workflow.
  3. No additional configuration is necessary, as the activity automatically retrieves the count of unread notifications for the current user.
  4. Execution:
  5. The activity executes asynchronously, querying the AIForged notification subsystem to determine the number of unread notifications for the current user.
  6. It uses the configured API context to access the notification data via the notification client.
  7. Output:
  8. The activity returns anint, representing the count of unread notifications for the current user.

Considerations

  • User Context: Ensure that the API context is correctly initialized and that the current user is authenticated to retrieve the unread notification count.
  • Permissions: Verify that the necessary permissions are in place for the user or application retrieving the unread count to prevent unauthorized actions.
  • Error Handling: Implement error handling to manage potential issues such as network connectivity problems or unexpected API responses.