Skip to content

feat: data remediation / conversion - #231

Merged
plakkara-bc merged 1 commit into
devfrom
feat/data-remediation
May 1, 2026
Merged

feat: data remediation / conversion#231
plakkara-bc merged 1 commit into
devfrom
feat/data-remediation

Conversation

@mdiapenabc

@mdiapenabc mdiapenabc commented May 1, 2026

Copy link
Copy Markdown
Collaborator

Description

Add one-time CSA status remediation script

Adds scripts/remediation/csa-status-remediation.sql, a manually executed SQL script to correct csa_status and din values on approximately 1000 contacts that have incorrect data in the CSA application.

The script follows a 5-step process: duplicate check, pre-check, UPDATE inside a transaction, post-check, and a prompt to trigger the existing SYNC_ICM job to push the corrected values back to ICM.

The VALUES block is populated from the MIS extract CSV (stored on SharePoint) using a spreadsheet formula before execution. The script is intended to be run by an authorised operator directly against the database — first on Pre-Prod to validate, then on Production.

No application code changes are included.

@mdiapenabc
mdiapenabc force-pushed the feat/data-remediation branch from 025ab2a to 8138608 Compare May 1, 2026 20:25
@plakkara-bc
plakkara-bc merged commit 148e6a8 into dev May 1, 2026
18 checks passed
@plakkara-bc
plakkara-bc deleted the feat/data-remediation branch May 1, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants