bcgov / entity

ServiceBC Registry Team working on Legal Entities
Apache License 2.0
23 stars 58 forks source link

Decline an Already Approved Registration Application #23680

Closed mbertucci closed 1 week ago

mbertucci commented 2 weeks ago

Decline an Already Approved Registration Application

đź“– User Story
As an Examiner or Manager,
I want to decline an application that has already been approved,
so that the Registration status is updated or the Registration is canceled, and the system accurately reflects the new status of the application and registration.

Context:
This user story handles scenarios where an Examiner needs to decline an application that was previously approved. In such cases, the story ensures that the system provides options for canceling or suspending the existing Registration and records the changes in both the application and registration statuses.

Note: The "Issue Certificate" functionality is out of scope for this story and will be addressed in a separate user story #21685

Note: Initial Approval or rejection of applications without existing registrations is handled in user story #22187. Note: Approve a Previously Declined Registration Application is handled in #23673 Note: Escalating to Registrar is handled in #23674

Declining an Application with an Existing Registration

đź“Ź Business Rules

🎭 Story Scenarios

Scenario 1: Decline an Already Approved Application and Cancel Registration
Given the Examiner is on the application details page, and the application status is "Approved":
When the Examiner clicks the "Decline" button:
Then a modal dialog appears asking if the Examiner would like to Cancel or Suspend the existing Registration.
And the Examiner selects Cancel.
Then the application status changes to "Declined."
And the existing Registration status changes to "Canceled."
And a record of the action is logged in the Filing History with the Examiner’s name, date, and time. And the application status is reflected and visible in the Examiner Dashboard

Scenario 2: Decline an Already Approved Application and Suspend Registration
Given the Examiner is on the application details page, and the application status is "Approved":
When the Examiner clicks the "Decline" button:
Then a modal dialog appears asking if the Examiner would like to Cancel or Suspend the existing Registration.
And the Examiner selects Suspend.
Then the application status changes to "Declined."
And the existing Registration status changes to "Suspended."
And a record of the action is logged in the Filing History with the Examiner’s name, date, and time. And the application status is reflected and visible in the Examiner Dashboard

mbertucci commented 1 week ago

closing as we aren't doing this