Conga Product Documentation

Welcome to the new doc site. Some of your old bookmarks will no longer work. Please use the search bar to find your desired topic.

Running the Migration Script

As an existing customer, if you are upgrading to the current release, you must run a post-install script manually through the developer console.

List<echosign_dev1__SIGN_Agreement__c> lstAgreements = [SELECT Id,
														echosign_dev1__Attachment_ID_Order2__c,
														echosign_dev1__Attachment_ID_Order__c
														FROM echosign_dev1__SIGN_Agreement__c
														WHERE echosign_dev1__Status__c != 'Signed'];

if(!lstAgreements.isEmpty()) {
	for(echosign_dev1__SIGN_Agreement__c agmt : lstAgreements) {
		agmt.echosign_dev1__Attachment_ID_Order2__c = agmt.echosign_dev1__Attachment_ID_Order__c;
	}
	update lstAgreements;
}