Welcome to Gravity Help
Appendix

Gravity Copy Environment

Overview

There are four steps to coping one environment (database) over another:

  1. Copy the database
  2. Remove the Admin Mode on the copied DB
  3. Update the Gravity License on the copied DB
  4. Turn on Workflows in the copied environment

Notes:

  1. Environments can be configured as either Production or Sandbox. It is not possible to directly duplicate a Production environment. To do so, you must first convert it to a Sandbox environment, duplicate the environment, and then convert it back to Production.
  2. Gravity license keys are associated with the environment ID. When duplicating to a new environment, it is necessary to update the license key.

Copy an Environment

Using the cloud admin environment (https://admin.powerplatform.microsoft.com/), perform the following steps:

  1. Select the Source environment
  2. Select Copy on the Menu
  3. Set the parameter to Everything
  4. Select the Target Environment
  5. Select Copy
Document image


Depending on the size on the database it can take 20 -60 minutes to copy. The cloud portal will tall you when the Environment is ready.

Turing Admin Mode Off

Select the environment by clicking on the name. Perform the following

  1. Select Edit on the menu
  2. Disable Administrative Mode
Document image


Update Gravity License Key

Open the Environment and login to the Gravity Application. You make see an error message that relates to an invalid license.

Select Update License on the menu

Select Financials->System Settings->License Information

Document image


Note: If this is a new environment you may need to request a license key from Gravity.

Update Power Automate workflows

Power Automate workflows are also tied to the environment, when they are copied over to a new environment they are turned off and have to be restarter.

Use the cloud portal (https://make.powerapps.com/) to turn one the workflows

Select the correct environment and the Default Solution

Document image


Note: Some workflows are dependent on other workflows to function, you may need to enable the called workflow first. These include the following:

XXXXX Email Template Flow send Email to Gravity Support

Cloud Workflows

Select Cloud Workflows from the list of objects. You will see that the status is off

Document image


Edit the Cloud Workflow

Select Each Workflow individually and it will take you to the edit mode. Most workflows will have to be opened and saved to get the updated credentials.

  1. Select Edit on the workflow
  2. Open the workflow and expand the steps
  3. Save the workflow
  4. Go back to the edit stem and turn the workflow on
Document image


Note: When selecting the Turn On for a workflow it can take up to 2 minutes for the flow to turn on.

Edit the Cloud Workflow

Once the workflow is opened, select continue to expand all the steps then hit save and return to the previous screen where you can turn the workflow on.

Document image