Open TracyLinder opened 6 months ago
There also aren't any EX permits with the status expired-license, indicating an issue/bug.
@TracyLinder @Nadin-Nader @vschandramouli Batch - Expire EX DS with LC(Job RSN-203): if we don't put expired date/ or the date it was expired check in the Cursor to get the expired LC and ROW contractor, everyday the batch will hit all the expired LCs irrespective of the expirydate/stampdate. So, my question would be - are there any scenarios that DS/EX can get reactivated (other than renewing the LC with Renew Process), before even LC is renewed/reactivated? 1- If any such scenarios exist, while LC is still expired DS/EX are activated, but the batch will keep updating the DS/EX 'Active' status to 'Expired-License' status. 2- As you suggested to check the update date(stampdate) instead of expirydate, I am not sure if with the status update the stampdate is also updated. To know that, I would need to know what are the processes/batches or any other triggerring points that expire LC. So that I make sure those are all updating the stamp date also with status update.
@TracyLinder @Nadin-Nader Expirydate WHERE clause commented and the commit is sent to DEV - SCTASK0401844. Thanks.
@SubhaShroff this has been sent to the DevOps CM Team to be deployed to TEST under SCTASK0402207
@Nadin-Nader The above DEV deployment I tested but batch job is throwing overflow error - "PL/SQL: numeric or value error: character string buffer too small ORA-06512:" As we discussed today (3/7/2024) about this issue, we can only test the expiry date condition commented after fixing the above issue addressed.
I checked with the code if it will do with permit number format(2024-021365 EX) only, it still overflows.. I tried only for RSNs listing, that too fails for these Right of Contractors permits with the given number of active permits(EX, DS) they have. So, we only can make it work by limiting the display of these permits in the email, let be RSNs alone. Below data are on PROD only a few for example - contractors with active EX, DS
NOTE: This is working fine as of now since its not hitting all the LCs, especially with those having large number of permits.
Thanks.
does the character limit error message happen?
Y - Send email with link to portal we need email content for this
N - Send email with the permits listed
Emails that need to be created:
Next Steps:
@Vaishnav1397 can you please work with Kyle to create email templates that point the user to the portal to find their permits. Please also create AC for the fix.
Moving this back to Needs Scoping to work with Kyle.
@vschandramouli will add the AC from #15763 to this card.
Incident to Pause Batch Jobs on PROD INC0374203
We will need to document the use cases that require UAT.
The causes of this bug were identified as
Resolutions:
Next Steps:
Notes from scoping meeting with Kyle and Raj: 4/2/24
Subject: ROW License and Permit Expiration Notice
Dear ROW License Holder,
This email is to advise you that your Right of Way Contractor License [2022-12345678 LC] expired on [LC folder Expiry date].
All Driveway/Sidewalk and Excavation permits associated with your Right of Way Contractor License have expired on [LC folder Expiry date] until the license is renewed. To renew your Right of Way Contractor License, look for the "How is a Right of Way Contractor License renewed?" Section at this URL - https://austintexas.gov/page/right-way-contractors
The following list includes the DS/EX Permits that have expired. To view a full list of expired permits, please visit add link to the AB+C Portal here.
[Folder Number of DS or EX folder, for example, 2022-012345 DS] - [Folder Name]
2023-12345678-DS - New Driveway & Sidewalk
To reactivate your license, please view the documentation requirements on the Right of Way Contractor webpage {https://www.austintexas.gov/page/right-way-contractors}, and then submit your updated documentation to our SmartSheet {https://app.smartsheet.com/b/form/cad1e53c88224399979f40df80ef6270}.
Subject: ROW License and Permit Renewal Notice
Dear ROW License Holder,
This email is to advise you that your Right of Way Contractor License [2022-12345678 LC] has been reactivated.
All Driveway/Sidewalk and Excavation permits associated with your Right of Way Contractor License have been reactivated. Please note that any permits that are past their expiry date will not be reactivated.
The following list includes the DS/EX Permits that have been Reactivated. To view a full list of reactivated permits, please visit add link to the AB+C Portal here.
[Folder Number of DS or EX folder, for example, 2022-012345 DS] - [Folder Name]
Example: 2023-12345678 DS - New Driveway & Sidewalk
Updated URL @rajeshlaunch @Nadin-Nader @SubhaShroff
Card should be ready for development
This has been sent to the DEVOps CM Team to be deployed to DEV under SCTASK0412009
@SubhaShroff this has been sent to the DevOps CM Team to be deployed in TEST under SCTASK0413275
@Nadin-Nader SCTASK0413275 is closed but looks like one of the commits is not deployed in TEST - fd0f598f26274f006dd96d7886b2807f1dc89b25. Messaged Monty about it. Will retest it once its deployed properly. Thank you.
@Nadin-Nader I tested this after Monty fixed it.
Right-of-Way Contractor - 5747087
LC RSN - 12623304
The expiration batch email is attached. This particular Right of Contractor had 32 EX/DS active permits. The email listed those permits only as much as it could accommodate.
All those active permits' status got updated to Expired-License.
Received Renew email. Its email content is not formatted but its displaying as one paragraph. I am checking whats wrong with it.
@Nadin-Nader Please create a DEV deployment request. Thank you. Fixed the renewal email content and the commit -8bd726c7875679d3bc8069036545729356bfe717 is sent for DEV deployment. 16106 - 8bd726c7875679d3bc8069036545729356bfe717 - DEV Deployment Plan.docx
This has been sent to the DevOps CM Team to be deployed in DEV SCTASK0415921
This has been sent to the DevOps CM Team to be deployed to TEST under SCTASK0416157
@Nadin-Nader This is ready for UAT on TEST. Thank you.
@Nadin-Nader I move it to In Progress as I noticed this morning, the batch job looks sending multiple emails for the same LC. I will check this and update the ticket.
@Nadin-Nader @vschandramouli @KyleErich @TracyLinder After testing this ticket on TEST there are few points I noted that seek your view:
Suggested Solution: To avoid it, on test environment we can run Batch job manually, which will fire only once. On PROD, I think we will delete the existing Batch and add it again as fresh.
This is the reason Tracy had suggested to add an expiry date check and do the update/send emails to only those LC licenses that expired previous day. That should restrict to send the emails everyday. But This ticket has some examples that would be an exception for the date check.
But, there will be a question about the LCs that are expiring without expiry date on it, after the script is executed. I think, adding expiry date to the LC along with the expired status update would solve that too. (Need to know when it expires but not update the expiry date).
Or Run the batch weekly once to reduce the email frequency. This will also, update the DS/EX permits weekly once, to Expired-License.
Please let me know your thoughts/solutions that works. Thank you.
We can discuss in greater detail during the Friday afternoon meeting.
Outcome: We suggest to fix the insurance expiration date issue and add a 'expired yesterday' clause to the batch job.
Notes from meeting with Subha and Raj
Meeting with Kim, Paloma, Kyle and team -
Vish will create a separate card for insurance work (problem 2) and scope it out with ROW team. This may be related to #16314
@Nadin-Nader Please create a DEV deployment request. Thank you. 16106 - 56985c629df0348434b63f75c8bdee7b3ec069a7 - DEV Deployment Plan.docx
This has been sent to the DevOps CM Team to be deployed to DEV under SCTASK0439363
Status: Waiting on TEST UAT for #16415. If #16415 is approved on TEST, this one can progress
Set the data to TEST: PeopleRSN-5597614 LC RSN-11766283
13150693 DS 2024-10-26 50010 13193141 EX 2024-07-26 50010 12819803 DS 2025-01-22 50010
The following batches will trigger tonight after midnight. 196 - Expire EX DS with LC 179 - Expire EX Folders 200 - Expire DS with Expire License Status
Will verify the data on Monday.
The new commit has been sent to the DevOps CM Team to be deployed to DEV under SCTASK0443101
@SubhaShroff This has been deployed to DEV please UAT
DEV Batches turned on : 198 - Expire EX DS with LC 204 - Expire DS with Expire License Status
@Nadin-Nader @TracyLinder Expire EX folders batch job(already existing not part of 10849 ticket). This one expires EX permits with expirydate of the previous day. So, old EX permits if there are any with past expiry date other than previous day. Should I remove the previous day expiry date condition for this Batch Job?
NOTE: And also this batch check not only for 'Expired-License' status of EX, but also other status which are NOT any of the following status - XXXX Expired, Final, Canceled, Closed, Void, Aborted XXXX
Another DEV commit has been sent to the DevOps CM TEAM to be deployed to DEV under SCTASK0444016
@SubhaShroff this has still not been deployed as of 10:07am 8/2/24
@SubhaShroff This has been deployed to DEV please UAT
@Nadin-Nader Thank you. Setting the data to test the following batch jobs: 198 - Expire EX DS with LC 204 - Expire DS with Expire License Status 154 - Expire EX folders
Ppl LCrsn status expirydate LC number email sent count 5723093 12482138 50030 2024-07-31-- 20 082501 LC 2nd Aug(2), 5418121 11113820 50030 2024-08-03 --14 031668 LC 4th Aug(2), 5th Aug(2) 5810048 13077576 50030 2024-08-01 -- 23 003966 LC 2nd Aug(2), 3rd Aug(2) 5815138 13106720 50030 2024-08-02 -- 23 029356 LC 3rd Aug(2), 4th Aug(2)
There are many EX/DS. Few are listed to verify on Tuesday(8/6/2024). 11109909 DS 12616443 EX 12596371 EX 13181667 EX 13166805 EX 13193483 EX 13187863 EX 11109909 DS 13181843 DS 13112204 DS 12886853 DS 11109909 DS 13181843 DS 13112204 DS 12886853 DS 11109909 DS
DEV test results:
Working on these points.
This has been sent to the DevOps CM Team to be deployed on DEV under SCTASK0445323
This has been deployed to DEV. Subha is checking on it but also has to discuss the email portion of it @ the 2pm meeting with ROW
This has been sent to the DevOps CM Team to be deployed to DEV underSCTASK0447019
This has been sent to the DevOps CM Team to be deployed to TEST under SCTASK0448365
@Nadin-Nader I am testing this on TEST. Tested day1, today. Will need to test it on day 2 as well, checking the emails tomorrow.
@Nadin-Nader Since DS expire batch was not working I couldn't test it completely on DEV. Its tested on TEST. 2nd day email is not good enough. And did another commit for the fix. - SCTASK0450580
Acceptance Criteria
Expiration email template
Subject: ROW License and Permit Expiration Notice
Dear ROW License Holder,
This email is to advise you that your Right of Way Contractor License [2022-12345678 LC] expired on [LC folder Expiry date].
All Driveway/Sidewalk and Excavation permits associated with your Right of Way Contractor License have expired on [LC folder Expiry date] until the license is renewed. To renew your Right of Way Contractor License, look for the "How is a Right of Way Contractor License renewed?" Section at this URL - https://austintexas.gov/page/right-way-contractors
The following list includes the DS/EX Permits that have expired. To view a full list of expired permits, please visit https://abc.austintexas.gov/web/permit/folder-select?reset=true
To reactivate your license, please view the documentation requirements on the Right of Way Contractor webpage {https://www.austintexas.gov/page/right-way-contractors}, and then submit your updated documentation to our SmartSheet {https://app.smartsheet.com/b/form/cad1e53c88224399979f40df80ef6270}.
Re-activation email template
Subject: ROW License and Permit Renewal Notice
Dear ROW License Holder,
This email is to advise you that your Right of Way Contractor License [2022-12345678 LC] has been reactivated.
All Driveway/Sidewalk and Excavation permits associated with your Right of Way Contractor License have been reactivated. Please note that any permits that are past their expiry date will not be reactivated.
The following list includes the DS/EX Permits that have been Reactivated. To view a full list of reactivated permits, please visit https://abc.austintexas.gov/web/permit/folder-select?reset=true
Notes from original ticket description: Determine why folder 13045443 wasn't expired-license when the related license expired (12753417)
The license for Captex Construction, LLC expired on 2/22/24 however it's child permit (13045443 ) did not update to expired permit, it is still active.