Closed vinayvenu closed 3 years ago
To enable approval workflow we need to enable it in the org config. Right now that is not possible from the admin interface. Use SQL to add that.
with audits as (
update organisation_config set settings = settings || '{
"enableApprovalWorkflow": true
}'::jsonb
where organisation_id = (select id from organisation where name = 'Demo test')
returning audit_id
)
update audit
set last_modified_date_time = current_timestamp
where id in (select audit_id from audits);
Staging APK: https://s3.ap-south-1.amazonaws.com/samanvay/openchs/staging-apks/staging-81423-2021-02-23-14-14-16.apk
QA Notes -
As part of this story, we will complete the flow to approve a form.
Acceptance criteria
Out of scope