Skip to content

Flag As Read

Properties

  • Input
  • Notification Id
    • Type:int
    • Description: The unique identifier of the notification to flag as read. This is a required argument.

Usage

  1. Setup Activity:
  2. Add the "Flag As Read" activity to your UiPath workflow.
  3. Configure the required input argument:
    • Notification Id: Provide the ID of the notification that you want to flag as read.
  4. Execution:
  5. The activity executes asynchronously, marking the specified notification as read in the AIForged notification subsystem.
  6. It uses the configured API context to perform the update via the notification client.
  7. Output:
  8. The activity returns abool, indicating the success of the operation:
    • trueif the notification was successfully flagged as read.
    • falseif the operation failed.

Considerations

  • Data Integrity: Ensure that the notification ID is valid and corresponds to an existing notification to avoid errors during the operation.
  • Permissions: Verify that the necessary permissions are in place for the user or application flagging the notification to prevent unauthorized actions.
  • Error Handling: Implement error handling to manage potential issues such as network connectivity problems or invalid input data.