Import a ProcessMaker Platform Process

Import a complete business solution that has previously been validated and exported from ProcessMaker Platform.

Overview

Importing and exporting Processes and their related assets into your ProcessMaker Platform instance makes it easy for Process designers and business analysts in your organization to share complete business solutions that can quickly be deployed to production. Import Processes from ProcessMaker Platform or later versions.

Process Importing Requirements

Import Processes that meet the following requirements:

  • The Process successfully validates as BPMN 2.0 compliant.

  • The Process was exported from a ProcessMaker Platform version the same or later than the ProcessMaker Platform version importing the Process.

  • The JSON file exported from the ProcessMaker Platform instance contains relevant assets for that Process. This file may include but not limited to Screens, Scripts, and Enterprise package assets referenced in that Process. This file may be password protected, especially if the exported package contains Environmental Variables and/or Data Connectors, both of which may contain sensitive business information. A password-protected business solution is encrypted. If the JSON file has a password, then you must know that password to import the Process and/or its asset(s).

  • If the ProcessMaker Platform importing a business solution does not have the Enterprise package(s) installed that the solution uses, those assets are ignored when importing the solution.

Imported Components

The following components are imported from a validated Process if they are specified in that Process:

Potential Known Errors for an Unsuccessful or Limited Process Import

The following error messages may display during the importing of a Process to help troubleshoot why a Process may not import or a customized import is not available:

  • The Process has a design inconsistency that prevents it from successfully importing.

  • An existing Process already exists with the same name but a different unique identifier. During the importing of such a Process in this scenario, ProcessMaker Platform queries to change the name of the importing Process to prevent this conflict.

  • Note that Processes from ProcessMaker versions prior to 4.x cannot be imported.

All errors capture into the log file associated with each affected ProcessMaker Platform asset.

Generated Log of Imported Components

ProcessMaker Platform generates auditable logs after successfully or attempting to import a Process and its related assets. The logs may include any of the following:

  • Manifest of content from the importing package that contains the Process and its assets

  • Date and time the Process was imported

  • The ProcessMaker Platform user that imported the package

  • Error messages that apply to an unsuccessful import attempt

Import a Validated ProcessMaker Platform Process

Your user account or group membership must have the following permissions to import a ProcessMaker Platform Process unless your user account has the Make this user a Super Admin setting selected:

  • Processes: Import Processes

  • Processes: View Processes

See the Processes permissions or ask your Administrator for assistance.

Processes that are not BPMN 2.0 compliant can be exported successfully. However, such Processes will not import successfully.

Select the Process to Import

Follow these steps to select the Process package to import into ProcessMaker Platform:

  1. View your active Processes. The Processes tab displays.

  2. Click the Select file from computer link to locate the ProcessMaker Platform Process to import. ProcessMaker Platform Processes have the .json file extension.

    ProcessMaker Platform evaluates the file to import. If the Process was not exported from a ProcessMaker Platform version, that Process may not be imported completely. See Potential Known Errors for an Unsuccessful or Limited Process Import.

  3. Do one of the following regarding the password for the importing Process:

    • The importing Process has no password: Skip to Step 5 since a password was not set when this Process was exported.

Select How to Import the Selected Process and its Asset(s)

Follow these steps to select how to import the selected Process and its associated asset(s):

  1. From the Select Import Type setting, select one of the following options how to import this Process and its assets:

    • Basic: Import the Process and all its assets that were exported from the source ProcessMaker Platform instance. Select the Basic option, click the Import button, and then decide to update Process asset(s) that already exists in your ProcessMaker Platform instance.

    • Custom: Specify which asset(s) associated with the Process to import. Note that if your ProcessMaker Platform instance does not have an Enterprise package installed that the source Process includes as an asset, then the Custom option is not available. Select the Custom option, click the Import button, and then continue.

      The Summary page contains the following information about the importing Process:

      • Description: The Description field displays the entered description of this Process.

      • Categories: The Categories field displays to which categories this Process is assigned.

      • Process Manager: The Process Manager field displays which user in the source ProcessMaker Platform instance is the Process Manager for this Process. If that user name is a hyperlink, optionally click on it to view that user's account.

      • Created: The Created field displays at which date this Process was created in the source ProcessMaker Platform instance.

      • Last Modified: The Last Modified field displays at which date this Process was last modified from the source ProcessMaker Platform instance. If this Process has not been modified, the following displays: N/A.

  2. Optionally, do any of the following to learn more about which asset(s) to import along with the importing Process, and then include or exclude it from importing with the Process:

    • View the linked asset(s) for the importing Process:

      Follow these guidelines to view the linked asset(s) to the importing Process:

      1. Review each asset in any of the following ways:

        • Review the date when this asset was last modified. If that asset has not been modified, then N/A displays.

        • Review the user who last modified this asset. If that user is in the target ProcessMaker Platform instance, then optionally click on that user name to view that user's profile. If that asset has not been modified, or that user is not in the target ProcessMaker Platform instance to which this asset is being imported, then N/A displays.

        • If that asset already exists in the target ProcessMaker Platform instance, then optionally click to view that asset below the asset description. If that asset does not exist in your ProcessMaker Platform instance, then this option is not available.

      2. Click Cancel or OK to dismiss the Linked assets screen.

    • Select to import all or particular assets for the Process:

      Follow these guidelines to import all assets for the importing Process or particular assets:

      1. Deselect the Import All Process elements option to not import all assets. Browse for those assets to import as described below.

    • View the details for each asset type:

      Follow these guidelines to view the details regarding a linked asset to the importing Process:

      1. In the Summary page, locate the asset type in which to view its details.

      2. The following labels may display beside beside the Status descriptor for an asset or all assets in a type:

        • Full Import: The Full Import indicator represents that all assets of that type are to be imported. If the Import All option is selected for an asset type, then all assets of that type are set for import. To select particular assets to import, deselect the Import All option, and then select those assets of that type to import.

        • Updated: The Updated indicator represents that this asset has a corresponding asset already in your ProcessMaker Platform instance. After confirming which asset(s) to import from this page, decide whether to update your existing asset(s) or import them as new.

        • New: The New indicator represents that this asset is new to your ProcessMaker Platform instance.

        • Not Importing: The Not Importing indicator represents that this asset is not to be imported.

  3. Click the Import button.

Decide to Update Process Asset(s) That Already Exists in Your ProcessMaker Platform Instance

If the Process or its asset(s) exist in your ProcessMaker Platform instance, then decide whether to update the existing Process and/or assets in your instance, or import them as new. Note that if a Process is archived, that Process exists and must be considered whether to update or import a new Process.

Follow these steps to verify if the selected Process asset(s) already exists in your ProcessMaker Platform instance, and how to import the asset(s) if it does exist:

  1. Do one of the following depending if the importing Process or any of its assets selected for importing already exists in this ProcessMaker Platform instance:

    • Process nor any of its assets already exist: Skip to Step 3.

    • Select one of the following options:

      • Update: Overwrite any assets associated with the importing Process. Use this option with caution because any other Process using the updated asset(s) are also affected by this action. For example, if a Screen associated with the importing Process is also used in a different Process in this ProcessMaker Platform instance, then updating that Screen from the imported Process also affects the other Processes as well.

        Updating the Process itself has ramifications regarding the Process Manager assigned to both the importing Process and the target Process being updated:

        • The Process Manager is configured in the importing Process, but not the target Process: The Process Manager configured in the importing Process is configured for the Process after updating. The exception to this is if the user assigned the Process Manager role in the importing Process does not exist in the target ProcessMaker Platform instance, in which case the user importing the Process is configured as the Process Manager.

        • The Process Manager is not configured in the importing Process, but is configured in the target Process: The Process Manager configured in the target Process remains after updating that Process with the importing Process.

        • The Process Manager is defined in both Processes: The Process Manager configured in the importing Process replaces the Process Manager in the target Process. The exception to this is if that user does not exist in the target ProcessMaker Platform instance, in which case the Process Manager does not change.

        Note that your user account must have the Edit Processes permission to import as a new Process. Otherwise, the following message displays: You do not have permissions to update the existing process in this environment..

        Follow these steps to update the existing Process and/or its asset(s):

        1. Click the Update button.

        2. The Process and its assets import into Process Modeler. Revise as necessary.

      • Import as New: Import this Process and its assets with unique IDs. Follow these steps:

        1. Click the Import as New button to import this Process and its assets with unique IDs. The Configure Process Details screen displays.

        2. In the Name setting, enter a unique name of the importing Process. This is a required setting.

        3. In the Description setting, enter a description of the importing Process. This is a required setting.

        4. Click the Import button. The Process and its assets import into Process Modeler. Revise as necessary.

  2. Click the Import button. The Process and its assets import into Process Modeler. Revise as necessary.

pageWhat is a Process?pageView Active and Inactive ProcessespageManage Process CategoriespageCreate a New ProcesspageSearch for a ProcesspageConfigure a ProcesspageExport a BPMN-Compliant ProcessMaker Platform ProcesspageArchive a ProcesspageRestore a ProcesspageWhat is Process Modeling?pageView ProcessMaker Platform Version InformationpageProcess Modeling Element DescriptionspageCancel a RequestpageSummary for Completed Requests

Last updated

© Copyright 2000-2024 ProcessMaker Inc. All rights reserved.