avniproject / JSSCP

0 stars 0 forks source link

[Support JSSCP] Update rules for all organisations #300

Closed nupoorkhandelwal closed 9 months ago

nupoorkhandelwal commented 1 year ago

We will have to update all the organisations, both UAT and prod orgs to replace the ruleServiceLibraryInterfaceForSharingModules with imports --

https://avni.readme.io/docs/updating-rules-in-bulk

Gojo-Taqi commented 10 months ago

Have ran the scripts for UAT, will pair and run the script with the QA against prod.

Dinesh2019 commented 9 months ago

get the rule failure Invalid date value 'undefined' specified for the mandatory concept 'Last menstrual period' for entity 'programEnrolment' with uuid 'ee6f5a35-af3f-4454-a16b-d73f8c3408eb'

Dinesh2019 commented 9 months ago
Gojo-Taqi commented 9 months ago

In the script provided by the product team in the readme, they forgot to update the rules in the form_element. I wrote a script and executed against all the form_elements, and now the error should not happen. Moving this card back to QA ready, and requesting you to test the entire org once again.

Gojo-Taqi commented 9 months ago

Have updated the Readme as well to avoid these mistakes in the future.

Dinesh2019 commented 9 months ago

Looks good need to move to prod