Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

How to move forms from all CPs to the CP group?

Introduction

This page explains how to delink forms attachment from ‘All current and future collection protocols’ and link to specific protocols or collection protocol group(CPG). If data is already entered, and if form attachment is changed via UI, data is lost. Follow the below steps to do it without losing data.

Steps

Scenario: The form is attached at the ‘Visit Forms’ level to 'all CPs’ and needs to be moved under ‘Common workflow’ CPG.

1. Log in to the database and run the below SQL to get the context id of the form which is attached to all CPs.

 

Select fc.identifier from catissue_form_context FC join dyextn_containers dc on dc.identifier=fc.CONTAINER_ID