You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Namex - Build Resend Notification on each Notify Record. #20384
We have a notification_history table, but it does not store the email body. The email body needs to be regenerated based on the information we have. Here are the notification types and their required parameters:
Currently, I believe the problem is retrieving emails sent before NR renewal—the previous expiration dates need to be retrieved from the log.
Additionally, the current notify-api does not support retrieving specific NR data from the notification_history table. I will open a ticket with the SRE team.
Finally, displaying the email body in the UI is also a challenge. New functions will need to be created to ensure the email body appears in the UI. -- I wonder if it is possible to display only the parameters used to generate the email in the UI, instead of the entire email body?
The UI design looks great. However, considering the implementation, is it possible to make some changes?
We don’t store the body of emails. To display the entire email in the UI, we would need to generate the email on the fly, and the email template is in the entity-queue project, which is better left untouched at this level. Instead, could the notification histories be displayed as a list with columns such as:
Additionally, I have concerns about retrieving historical data after edits.
For example, if we resend a receipt after updating names, the NR name information in the receipt will reflect the current name information instead of what was in the original receipt. Is this acceptable?
@eve-git I have reached out to the design team on your first question above. I have also contacted the examiners for their comments on the second point. I will keep you posted
BCRegistry-SRE/notify-api: To retrieve all the notification histories for a specific NR, a new api service is needed.
Entity-emailer: An NR payment notification includes name choices, which a user may update after payment. Currently, the name information is retrieved by the entity-emailer using the input nr_id. To ensure the email content remains consistent with the original, we need to pass the name information to the entity-emailer as well.
Namex has an events table. I am considering saving the NR states before sending the notification. The notification can then be retrieved by sending the NR states to the entity-emailer. I will discuss this possibility with the entity developer
Tests performed in TEST env:
-Creation of a new Sole Prop business in BC - OK
-Creation of an extra provincial Corp - OK
-Consume new business (Sole Prop) - OK
-Change of name - Rejected - OK
-Emails received - OK
-New Extra provincial Limited -Amalgamation of 2 numbered companies BC - NOK
Other tests performed:
1 Search names
1.1 Start new BC-based business
1.1.1 Limited Company
1.1.2 Sole Proprietorship
1.1.4 General Partnership
1.2 For business that already exist outside BC
1.2.1 Register a business in BC that is incorporated in another jurisdiction
1.2.2 End business registration in another jurisdiction and transfer to BC
2 Manage My Name Request – NameX
2.1 Request
2.1.1 Edit Request
2.1.2 Show Details
2.1.3 Hold Request
changed the title [-]Name Examination UI - Build Resend Notification on each Notify Record.[/-][+]Namex API - Build Resend Notification on each Notify Record.[/+]on May 21, 2025
changed the title [-]Namex API - Build Resend Notification on each Notify Record.[/-][+]Namex - Build Resend Notification on each Notify Record.[/+]on May 21, 2025
Activity
eve-git commentedon May 22, 2024
We have a
notification_historytable, but it does not store the email body. The email body needs to be regenerated based on the information we have. Here are the notification types and their required parameters:Currently, I believe the problem is retrieving emails sent before NR renewal—the previous expiration dates need to be retrieved from the log.
Additionally, the current notify-api does not support retrieving specific NR data from the notification_history table. I will open a ticket with the SRE team.
Finally, displaying the email body in the UI is also a challenge. New functions will need to be created to ensure the email body appears in the UI. -- I wonder if it is possible to display only the parameters used to generate the email in the UI, instead of the entire email body?
eve-git commentedon May 22, 2024
The UI design looks great. However, considering the implementation, is it possible to make some changes?
For example, if we resend a receipt after updating names, the NR name information in the receipt will reflect the current name information instead of what was in the original receipt. Is this acceptable?
oanyahuru commentedon May 23, 2024
@eve-git I have reached out to the design team on your first question above. I have also contacted the examiners for their comments on the second point. I will keep you posted
eve-git commentedon May 24, 2024
Support required from other apps:
oanyahuru commentedon May 28, 2024
@eve-git the design team has proposed a new design


The business also responded to your second question
eve-git commentedon Jun 4, 2024
Namex has an events table. I am considering saving the NR states before sending the notification. The notification can then be retrieved by sending the NR states to the entity-emailer. I will discuss this possibility with the entity developer
eve-git commentedon Jun 5, 2024
request the support from emailer to accept NR object as parameter: #21632
https://app.zenhub.com/workspaces/entities-team-space---new-65550db1fcfd2f002838a52a/issues/gh/bcgov/entity/21632
moraesfm commentedon May 13, 2025
Tests performed in TEST env:
-Creation of a new Sole Prop business in BC - OK
-Creation of an extra provincial Corp - OK
-Consume new business (Sole Prop) - OK
-Change of name - Rejected - OK
-Emails received - OK
-New Extra provincial Limited
-Amalgamation of 2 numbered companies BC - NOK
Other tests performed:
1 Search names
1.1 Start new BC-based business
1.1.1 Limited Company
1.1.2 Sole Proprietorship
1.1.4 General Partnership
1.2 For business that already exist outside BC
1.2.1 Register a business in BC that is incorporated in another jurisdiction
1.2.2 End business registration in another jurisdiction and transfer to BC
2 Manage My Name Request – NameX
2.1 Request
2.1.1 Edit Request
2.1.2 Show Details
2.1.3 Hold Request
2.2 Approve/Reject
2.2.1 Quick Approve
2.2.2 Reject Distinctive
2.2.3 Reject Descriptive
2.3.1 Conflicts
2.3.2 Conditions
2.3.3 Trademarks
2.3.4 History
2.3.5 Compare
2.3.6 Decision
2.3.6.1 Conditions
2.3.6.2 Conflicts
2.3.6.3 Macros
2.3.6.4 Message to Requestor
3 Payment (23710)
3.1 Credit Card
3.2 No Fee
3.5 Download Receipts
3.6 Cancel and Refunds
[-]Name Examination UI - Build Resend Notification on each Notify Record.[/-][+]Namex API - Build Resend Notification on each Notify Record.[/+][-]Namex API - Build Resend Notification on each Notify Record.[/-][+]Namex - Build Resend Notification on each Notify Record.[/+]