Chapter 9. Process Creation, Import, and Export

9.1. Creating Process

Note

Decide whether you want to create a process in a package of a particular project. See Section 1.5, “Creating Package” for more information.

To create a process:

  1. In Business Central, click AuthoringProject Authoring.
  2. In Project Explorer, locate the project in which you want to create the process.
  3. Click New ItemBusiness Process at the top of Project Explorer.

    The Create New Business Process dialog window opens.

  4. Enter a name and select a package (optional). Click Ok.

    Process Editor with the newly created process opens.

9.2. Importing Process

Importing Process in BPMN2 or JSON Format in Process Editor

  1. In Business Central, click AuthoringProject Authoring.
  2. In Project Explorer, locate the project and the respective package into which you want to import the process.
  3. If you want to merge the process with any other existing process, open the already existing process in Process Editor. If you want to import a process without changing any of the existing processes, create a new process.
  4. In Process Editor, click the Import icon 5209 and choose the format of the imported process.

    The Import dialog window opens.

    Note

    The available Migrate jPDL 3.2 to BPMN2 tool is a technical preview feature and therefore is not supported.

  5. Click Choose File and locate the process file, or paste the process definition into the available text box. Click Import.
  6. The Replace existing model? dialog window opens. To overwrite the opened process with the imported process, click Yes. To merge the two processes, click No.

When importing processes, Process Editor provides visual support for process elements and therefore requires information about elements' position on the canvas. If the information is not provided, you need to edit the process position on the canvas manually.

Importing Process into Git Repository

  1. Clone the repository.
  2. Add the process BPMN2 file into the REPOSITORY/PROJECT/src/main/resources/PACKAGE directory.
  3. Commit the changes.
  4. Push the changes.

9.3. Exporting Process

To export a business process:

  1. In Business Central, click AuthoringProject Authoring.
  2. Open the process in Process Editor.
  3. Click 4473 and select View Process Sources.

    The Process Sources dialog window opens.

  4. Click Download BPMN2 to download the process.