Case IQ Knowledge Base

How can we help?

Export and Import a Configuration File

The Configuration Export & Import functionality allows system configuration data to be exported from and imported into the system. Generally, System Administrators will import system configuration data when moving from one Case IQ application environment to another, such as copying over your testing environment configurations to your production application. You may also want to back up your configurations before making a series of changes to settings in the application. Bulk updates to picklist values can be completed, as discussed in the Edit a Picklist Configuration CSV File section of this article.

Delete

Use Caution When Importing Configurations

System configuration data is critical to the correct functioning of the system. If your application has already been launched, do not import configurations from your test environment to your production application. Do not make any changes to the file or folder names or configuration data (for record types other than picklists) if you intend to import the files back into Case IQ.

When moving configuration settings between environments, you will export the configurations from one application environment, check the configuration files you downloaded, then import the files into the other Case IQ application. This article covers all export and import steps in detail and provides guidance on updating Picklist configuration files. A record of all exports and imports will be tracked in the Integration Log (see Integration Log).

The steps to export and import configuration files: 1) export files from Case IQ, 2) locate downloaded configuration files, 3) import files into Case IQ.

Check your Application's Version

As a precaution, confirm that the version of the application from which you will export data is the same as the application to which you will import data. To see the application version, select the System tab in Settings. The platform version will be displayed on the About page.

System About page.

Prepare the Application for Export

All applications are deployed with a system-generated workflow called “Status”. If you have not updated the Status workflow in your application, you can proceed to the Export Configuration Files section of this article. If the Status workflow has been edited, you must prepare the application data prior to export using the following steps:

  1. In the application from which you want to export configurations, create a new workflow to replace the edited Status workflow. See Add a Workflow for instructions.
  2. After creating the new workflow, delete the system-generated, edited Status workflow. See A Workflow's Page: Delete a Workflow for details.
  3. The application data is now ready to be exported.
Delete

Permissions Error

If you attempt to export then import the configurations of an edited Status workflow into a new application, the permissions will not be imported correctly. 

Export Configuration Files

To import system configuration data, you will first need to export your configuration. Review the following steps before proceeding in your own application:

  1. Navigate to the Configuration Export & Import page by selecting the “Configuration Export & Import” option in the page menu on the System tab.
  2. The grid on the Configuration Export & Import page displays all the types of data that can be configured in your system. You can use the row checkbox to select the entities to export.
    Delete

    Permissions Error Workaround

    Permissions will not be imported correctly from one application environment to another when workflows, user roles, role permissions, and role filters configurations are exported and imported at the same time. This article details the steps to workaround this issue by exporting the Workflows data separately before any other entity types.

  3. Select the Workflows row checkbox, then click the Export button on the grid header. Exporting system configuration data may take several minutes. When the export is complete, you will be prompted to download a ZIP folder that contains a CSV file of the application's workflow data. 
  4. Select the remaining entities in the Configuration Export & Import page grid and click Export. You will be prompted to download another ZIP folder that contains a CSVfile for each type of entity you selected.
    1. You will have 2 separate ZIP folders for: (1) the workflows CSV files and (2) CSVs for all other entity configurations.
  5. On Windows operating systems, it is important to extract the files from the ZIP folder before making changes to the CSV files. Right click the folder to see the “Extract All” option.
  6. If you exported the Picklist configuration file, refer to the Edit a Picklist Configuration CSV File section in this article for guidance on making updates to picklist values.

Import Configuration Files

To import the data back into Case IQ:

  1. Navigate to the Configuration Export & Import page and click Import
  2. The Import pop-up will be loaded, where you can select a ZIP folder or individual CSV files to import. Start by importing the Workflows ZIP folder.
  3. After selecting the workflow folder, click Done.
  4. Click Confirm on the warning message that pops up to start the import. You will receive an email notification when the import is done. You can also verify the status of the import in the Integration Log (see Integration Log). 
  5. After importing the workflow ZIP folder into the new application environment, any workflows that were created in the original application will be in “Inactive” status. Navigate to the Workflow page and activate the workflows (see A Workflow's Page: Deactivate or Activate a Workflow for instructions).
  6. After successfully importing the workflow ZIP folder and activating the workflows, you can begin to import all other remaining entity configuration files in the new application. Navigate back to the Configuration Export & Import page, click Import, select the remaining configuration files or folders, and click Done to begin the import.
    1. If the configuration files were exported as a ZIP folder for the entity type, upload the ZIP folder in the Import pop-up instead of the individual CSV files.
  7. Refresh the page after the import is completed to ensure the changes have been applied.

Edit a Picklist Configuration CSV File

In the picklist CSV file, you can add new and delete parent and child picklist values, or options in a picklist dropdown menu. However, you must follow the steps explained in this section to ensure that your data import successfully implements your changes to picklists.

Delete

Creating Picklists or Editing Picklist Values

You cannot add new picklists or edit existing picklist values in the picklist CSV import. If you update an existing picklist value in the CSV file, the system will create a new picklist value with the edited name while retaining the original picklist value.

For example, if you changed a picklist value’s name from “Case Type 1” to “Type 1” in the CSV file and imported it, the picklist would contain both “Case Type 1” and “Type 1” options. Instead, you would need to delete the “Case Type 1” option, then add a “Type 1” option in the CSV file.

To add new picklist values to an existing picklist:

  1. Insert a row in the CSV file.
  2. Look for the “Name” column in the CSV file (the columns are sorted alphabetically). In the “Name” column of the row you inserted, enter the picklist name for which you want to add options. You can copy and paste the name from the other rows of the same picklist.
  3. In the “Value” column, type in a name for the new picklist value.
  4. The remaining fields will be filled in by the system, so you do not need to make additional adjustments. In the example below, the row highlighted in yellow was inserted in the exported picklists CSV. The new picklist option, “Duplicate case added”, will be added in the “Cancel Reasons” picklist after the CSV file is imported.
  5. If there are two identical rows in the CSV file, duplicate values will not be created.

A picklist CSV in Excel where a row has been inserted.

To delete a picklist value:

  1. Look for the “deletedDate” column in the CSV file.
  2. Find the row containing the picklist value you want to delete by reviewing the “Name” and “Value” columns.
  3. In the row of the value that you want to delete, enter a date in the “deletedDate” column, in the following format: YYYY-MM-DD. Adding a time is not necessary. See the “deletedDate” column in red font in the example below, where the “Special Reviews” value for the “Allegation Types” picklist will be deleted.
  4. After importing the CSV file into the system, the picklist value will be deleted. If you export the picklist configuration again, the value will not appear in the CSV file.

The picklist CSV in Excel where a deletedDate value has been added for a row.

If you export the picklist configuration, then make picklist changes in the application before importing the CSV file, your changes may not be applied correctly. After exporting a CSV file, if you: 

  • Delete a picklist value in the application, the picklist value will return when the CSV file is imported. Make sure to delete the value in the CSV file too.
  • Add a picklist value in the application, the picklist value will remain after importing the CSV file.
  • Edit a picklist value’s sequence in the application, the sequence will be reverted to its original value after importing the CSV file. You must edit the “Rank” column for the picklist value row in the CSV as well to keep your changes.

Edit Child Picklist Values

Adding and deleting values for child picklists follow the same general rules as picklists (see Configure Picklists and Picklist Options: Parent and Child Picklists for a full explanation of parent and child picklists). However, make sure that the “Parents” column is filled in. See the Groups and Subgroups picklist rows below as an example. 

  • “Group 1” is a value in the “Groups” picklist. 
  • The following values are child values of the “Group 1” value: “Subgroup 1-1” and “Subgroup 1-1, 2-1, 3-1”. 
  • If you were to add another child picklist value for “Group 1”, you would add a new row containing “Group 1” in the “Parents” column.

The picklist CSV in Excel where the Group 1 picklist value and the child picklist values “Subgroup 1-1” and “Subgroup 1-1, 2-1, 3-1” have been highlighted.