Skip to content

Namex Emailer Cloud Tasks: Resetting the NR should cancel the Email Cloud Task #28997

Closed

Description

@EPortman

In the Namex Emailer, a cloud task is created for approval, conditional approval, and rejection events. This allows for when a new decision event comes in, the previous one is cancelled and the new one is created to prevent spamming the client.

The problem is that when a decision event occurs for an NR and the NR is reset with no further decision events, the email still sends.

To fix this, reset events need to go through the emailer so the emailer knows not just to replace the cloud task when a new one arrives, but also to cancel the task when a new one doesn't.

Activity

  1. added
    NameX
    Names Team
    on Jun 12, 2025
  2. added theissue type on Jun 12, 2025
  3. removed theissue type on Jun 12, 2025
  4. added theissue type on Jun 12, 2025
  5. added
    enhancement
    on Jun 12, 2025
  6. changed the title [-]Namex Emailer Cloud Tasks: Putting NR on hold cancels the Email Cloud Task[/-] [+]Namex Emailer Cloud Tasks: Resetting the NR should cancel the Email Cloud Task[/+] on Jun 12, 2025
  7. self-assigned this
    on Jun 25, 2025
  8. EPortman commented on Jul 2, 2025

    @EPortman
    ContributorAuthor

    Quality Assurance

    This will be very similar to testing the last Cloud Tasks ticket. Except for this one resetting the nr is what cancels the cloud task.

    Test Scenarios

    1. Name is approved, conditional, or rejected and no other events for 5 minutes
      • Should just get the one email
    2. Name is approved, conditional, or rejected and nr is reset within 5 minutes
      • Should not receive the email
    3. Name is approved, conditional, or rejected and nr is reset within 5 minutes and then another approval, conditional, or rejected event
      • Should only receive the email for the latest event
  9. moraesfm commented on Jul 2, 2025

    @moraesfm

    All scenarios tested and confirmed working OK

  10. removed their assignment
    on Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    NameXNames Teamenhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions