My FNZ Studio Version
The article you are currently reading is not compatible with your selected My Appway version.

Development Resources

Latest Update: 18.07.2022 | Margherita Taffarel
Documentation
10
9
8
7
6

When moving your solution from one environment to another you need to export your process model – and in some cases, you also need to export the application configuration and new extensions. This ensures that all relevant Business Objects are included.

A possible scenario is: you performed a full export of your solution using a custom list. The custom list had a "committed" condition in the rule. After importing the solution to the target environment, you noticed several missing Business Objects.

This section walks through the procedure for exporting and deploying an Appway solution from one environment to another, starting with the process model export.

Further reading:

1 Exporting Your Solution

1.1 Process Model Export

There are four possible scenarios you need to consider when exporting your process model:

  1. Full process model export of Business Objects (see details)
  2. Full process model export of a whole Package (see details)
  3. Partial export with a custom list (see details)
  4. Partial export without custom lists (see details)

1.1.1 Full Process Model Export of Business Objects

In this scenario, you need to export all your solution's Business Object through the Business Object Export tool available in Appway Studio. Files containing Business Objects have the ending .AWEXPORT.

This is the only available full export procedure in the case of the Base Package. Consider that the Base Package cannot be versioned either.
  1. Go to Solution Design > Packages, and click on a Package.
  2. Select the Maintenance tab, and then click on the Export as .awexport File button.
  3. To do the full export of your solution, check the Select Visible box, and click the Export button. The version of the solution being exported in shown at the bottom of the export window. By default, the head version is selected. All the Business Objects (committed and uncommitted) are included in the export.
  4. To select a different version, click the Change Version button, and select the version that you want to export, as shown in Figure 2.

Export_and_deploy.png
Figure 1: Business Object Export tool in Studio

Export_and_deploy_2.png
Figure 2: Business Objects: Versioning

See the Business Objects: Versioning document for more details about Business Object version management.

1.1.2 Full Process Model Export of a whole Package

In this scenario, you export whole Packages to share them across different systems or reuse them in other solutions. Files containing Packages have the ending .AWDEPLOYMENT.
The buttons for importing/exporting Packages are available in the Package Overview.

To export a Package:

  1. Click on the Export button.
  2. Select one or more Packages to export in the Export column.
  3. For each selected Package, select which version to export from the dropdown menu in the Select Version column. You can select any Package version explicitly created by a Package developer, or the modified latest Package version. This modified version comprises the latest Package version and all modifications that have been made since that version was created (also called HEAD version).
    Tip: Expand the row of the Package using the arrow icon to see the Version notes.
  4. Use the Select Dependent button to select all Packages for export on which the currently selected Package(s) depend.
  5. Decide whether to include the Package configuration in the export file (Export Configuration column).
    If you decide to include the Package Configuration, the latest configuration, i.e. the one available at the time of the export, is used.
    Note: The version selected in step 3 does not affect the Package Configuration.
  6. Click Next and follow the steps in the wizard.
  7. Download the .AWDEPLOYMENT file containing the exported Package(s).

For more information, see the following documents:

1.1.3 Partial Process Model Export with Custom Lists

In this scenario, you only want to export a specific set of Business Objects. To do so, you need to create a Custom List with a list of Business Objects to include (or exclude) from the export. This export can only be performed in the context of a Package.

Appway provides two types of Custom List:

  1. Static Custom Lists
    Static lists are populated manually: Drag and drop the relevant objects to your list.
  2. Smart (dynamic) lists
    Smart lists are more flexible, and are populated dynamically based on rules. The rules are based on object attributes such as "last modified date", "last modified user", "committed" and so on.
    Pay attention to committed criteria as shown in Figure 3.
    "Committed = Yes" means that only committed objects are added to the list.
    E.g. An object A with at least one committed version, and a head version will not be added to the list.

    Export_and_deploy_3.png
    Figure 3: Smart list rules definition

Once you have your Custom List defined:

  1. Go to Solution Design > Packages, and click on the desired Package.
  2. Select the Maintenance tab, and then click on the Export as .awexport File button.
  3. Use the Select custom list content button in the export window to select and add the Business Objects from your custom list to the .AWEXPORT file.
  4. Use the Deselect custom list content button to exclude all the Business Objects in a custom list from the export.

When performing a partial export of your process model, include all of the dependent Business Objects:

  1. Click on the Select Dependencies button to add all the outgoing dependencies of your Business Objects.
  2. Click on the Export button to generate your .AWEXPORT file.

As with the full export, you can select a specific version of the Business Objects to export.

1.1.4 Partial Process Model Export without Custom Lists

In this scenario, you want to export Business Objects of the same type (e.g. only Screens) which are not organized in a list. This scenario is typical when working with multiple development environments or when you have fixed an error and want to export and deploy just the according object(s). To do so:

  1. Select the Business Objects you want to export.
  2. Right-click and select Export Selected.

When performing a partial export of your process model, you also need to include all dependent Business Objects unless you are sure that all dependencies are available and up-to-date on your target system:

  1. Click on the Select Dependencies button to add all outgoing dependencies of your Business Objects.
  2. Click on the Export button to generate your .AWEXPORT file.

As with the full export, you can select a specific version of the Business Objects to export.

1.2 System Configuration Export

The application configuration properties must be exported separately, as they are not part of the .AWEXPORT file.
The content of the configuration must be saved in text files, as shown in Table 1:

Type Affected File
Content Configuration data/conf/content.properties
Server Configuration data/conf/conf.properties

Table 1: Configuration files

With access to the file system
Copy the properties file directly from the data/conf folder.

Without access to the file system
Using Appway Studio, copy the content of the configuration from the configuration editor, and save to the relevant properties file (System Configuration > Configuration Properties).

1.3 Extensions Export

The export of extensions must be managed separately.

For more information, see: Extension Deployment Best Practices.

1.3.1 Export with Access to the File System

Copy the .jar file (ExtensionA.jar) and the .cfg text file (ExtensionA.jar.cfg) from the data/extensions folder.

The extensions configuration file (.cfg) is optional and if missing, the default configuration is used.

1.3.2 Export without Access to the File System

Download the extension from Appway Studio as shown in Figure 4.

DeploymentExtensionsExportfig4.png
Figure 4: Extension download from Appway Studio

1.4 BAM SLA Definition Export

  1. For the Business Activity Monitoring (BAM) component, the export of SLA definitions is done with the Export SLA button under System Configuration > BAM Installation.
  2. Click on the Export SLA button to generate the SLA definitions file.

DeploymentSLAExportfig5.png
Figure 5: SLA Definitions Export

1.5 License Export

The license assignment rules under System Configuration > Licensing > Licensing Assignment Rules are created manually in the target environment.

1.6 Data Source Export

The export of data source definitions is done via Data & Integration > Data > Data Sources.

For each data source to be exported, click on the menu icon as shown in Figure 6, and then click Download. An XML file is generated with the relevant data source definitions.

DeploymentDataSourceExportfig6.png
Figure 6: Data Source Download

1.7 Email Configuration Export

The email configurations under System Configuration > Email Configurations are moved manually. The configurations to move must be recreated manually in the target environment.

1.8 Workspace Notifications Topic Export

The topic definitions under Solution Maintenance > Processes > Notification Management >Topics must be recreated manually in the target environment.

1.9 Message Queue Export

The message must be created manually in the target environment. To display the message queues from the source environment, go to Solution Maintenance > Processes > Process Messages

2 Importing Your Solution

Depending on the components modified in your solution during the development iteration, you might have to execute one or more of the operations described in the following sections.

2.1 Process Model Import

There are two possible scenarios you need to consider when importing your process model:

  1. Full process model import of Business Objects
  2. Full process model import of a whole Package

2.1.1 Process Model Import of Business Objects

The import of Business Objects is done with the import tool available in the Appway Studio.

This is the only available full import procedure in the case of the Base Package.

You can only import Business Objects belonging to a Package with the same ID as the one you are currently in. When you try to import Business Objects belonging to a different Package, the import procedure fails.
  1. Go to Solution Design > Packages > [Package] > Maintenance > Import and Export
  2. Click on the Import from .awexport File button and select the the desired .AWEXPORT file to deploy the new content.

Before importing the objects, the tool displays a summary of Business Objects to import. The summary provides information about:

  • Total number of Business Objects in the .AWEXPORT file.
  • Number of Business Objects identical to local Objects. These Objects are ignored during the import.
  • Number of Business Objects to overwrite. A new version is created for every one of these Objects.
  • Number of new Business Objects. The Objects present in the package that do not already exist in the local system.

Export_and_deploy_12.png
Figure 7: Import Business Objects Summary

For more information, see the Deployment: Import and Export document.

2.1.2 Full Process Model Import of a whole Package

In this scenario, you import whole Packages to share them across different systems or reuse them in other solutions. Files containing Packages have the ending .AWDEPLOYMENT.
The buttons for importing/exporting Packages are available in the Package Overview.

To import a Package:

  1. Click on the Import button and select an AWDEPLOYMENT file.
  2. Select the Package(s) to import and whether to also import the Package configuration (if available).
    Important! The Package wizard informs you if local Packages will be overwritten. As importing does not perform merging, be aware that modifications to existing Packages will be lost if you import the same Package.
  3. (Optional) Enter a commit message in the according field.
  4. Click on Next and follow the steps in the wizard.
  5. Click on Import to finish importing.

Note: If you are importing a Head version, both the latest version and the Head version is imported.

For more information, see the following documents:

2.2 System Configuration Import

The properties must be imported manually:

  • With access to the file system
    Replace the relevant files with the new version provided with the export package. If you have a clustered setup in place, apply this action to all nodes. Pay attention to environment related properties. These properties are set in "conf.properties". E.g: servername, server URL.
  • Without access to the file system
    Overwrite the relevant properties from the Studio interface (System Configuration > Configuration Properties).

The different configuration types must be updated with the content of relevant properties file as previously shown in Table 1.

2.3 Extension Import

For full information on how to import extension, see: Extension Deployment Best Practices .

2.3.1 Extension Import with Access to the File System

Copy all of the .jar files and related configuration files of the extension to the Extensions folder. If you have a clustered setup in place, apply this action to all nodes.

Note: To activate the changes, restart the extension in Appway or Appway itself.

2.3.2 Extension Import without Access to the File System

The import is done from Appway Studio as follows:

  1. Stop the extension (for upgrade only)
  2. Upload the .jar file
  3. (Optional) Update the configuration with the content of the .cfg file
  4. Start the extension

2.4 BAM SLA definition import

It is possible to import SLA definitions using the export file generated from a source environment.
To import SLA definitions:

  1. Go to System Configuration > BAM Installation.
  2. Click on the SLA Import button and browse to the file with SLA definition.
  3. Proceed with the import.

2.5 License Import

The licensing assignment rules under System Configuration > Licenses > Licensing Assignment Rules must be created or updated manually in the target environment.

To create an assignment rule, click on the menu icon next to the Assignment Rules tab, and then select New Rule:

DeploymentLicenseImportfig8.png
Figure 8: Create Assignment Rule

To update an existing rule, right-click the row of the rule to update, and then click Edit:

2.6 Data Source Import

It is possible to import the data source definition from an xml file.

  1. Go to: Data & Integration > Data > Data Sources.
  2. Open the menu using the menu icon next to the Data Sources tab, and then select Upload Definition to import a new data source definition.

If necessary, change the database server to one matching the environment you just uploaded the definition to.

DeploymentDataSourceImportfig9.png
Figure 9: Data Source Definition Upload

2.7 Email configuration import

The relevant email configurations are created or updated manually on the target environment. To create or update email configuration, go to System Configuration > Email Configurations.

To create an incoming mail configuration:

  1. Open the context menu by clicking the menu icon next to the Email Configurations tab.
  2. Select Add new Outgoing Mail Configuration.
  3. Fill out the form with the relevant outgoing configuration parameters.

DeploymentEmailImportfig9.png
Figure 10: New Mail Configuration

Export_and_deploy_20.png
Figure 11: Mail Configuration Details

To update an existing mail configuration, right-click on the relevant entry and select the Edit button.

The creation (or update) of incoming mail configuration is done in the same way as for the outgoing mail configuration. Click Add new incoming Mail Configuration entry to create the new incoming mail configuration.

2.8 Workspace Notifications topic import

The notifications topic definitions used in the solution are created manually in the target environment. To create a new topic:

  1. Go to Solution Maintenance > Notification Management > Topics.
  2. Click the menu icon next to the Topics tab and select Create Topic.
  3. Provide an ID, name and description for the topic.

2.9 Message Queue import

The message queues are created manually in the target environment. To create a new message queue:

  1. Go to Solution Maintenance > Processes > Process Messages.
  2. Click on the menu icon and select Add Queue.
  3. Provide the details for the message queue.

Be aware that the message queue will be deleted after all the messages are consumed if the "Temporary flag" is set to "Yes".

3 Related Links

© 2026 Appway AG. All Rights Reserved