Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note
iconfalse

WIP! Restricted access.

Let's take a simple scenario where a BPMN process reads some content (text message) that is stored in the product registry and passes the message to a target variable.

Tip

Before you begin,

  • Download the product installer from here, and run the installer.
    Insert excerpt
    Installing the Product
    Installing the Product
    nopaneltrue
  • Select the relevant WSO2 Integration Studio based on your operating system and download it from here.
    The path to this folder is referred to as <EI_TOOLING> throughout this tutorial.

    Info

    Getting an error message? See the troubleshooting tips given under Installing WSO2 Integration Studio.

Let's get started! This tutorial includes the following sections:

...

Now, let's configure the READ task to read the content from the registry resource (TestBPMN resource) and write it to a specific target.

Select the READ task on in the canvasdiagram, go to the Properties/Main Config tab, and enter the following configurations:

...

Select the User task and apply property values:

  1. Go to the Properties/Main config tab and enter admin as  in the assignee Assignee field.
  2. Go to the Properties/Form tab and enter the following configurations:
    Image Removed
    Use the following values as Form properties:

    idNameTypeExpressionRequiredReadableWriteable
    variabletestingstring${testing}falsetruefalse


    Image Added

Deploying the artifacts

Follow the steps below to deploy the registry artifacts.

  1. See the instructions on packaging the registry resource in Create a composite applicaition project (C-App project) to package the registry resource:
    1. Open the Getting Started  view and click  Miscellaneous → Create New Composite Application .

    2. In the  New Composite Application Project  dialog that opens, select the registry project and click Finish.
    1. In the Composite Application Project POM Editor that opens, under Dependencies, set the server role of the registry resource to Business Process Server as shown below.
  2. To create the Export a CAR file , do one of with the followingregistry artifacts:
    1. Be sure the the registry resource is selected as a dependency in th C-App project.
    2. Right-click the C-App project and select Export Composite Application Project from the pop-up menu. Alternatively, open the pom.xml file in the Composite Application Project POM Editor and click the button for creating an archive in the upper-right corner.
    3. Specify a location to save the CAR file.
      You have now exported the registry resource into a single CAR file.
  3. To deploy Deploy the CAR file in the Business Process server of WSO2 EI:
    1. Start the Business Process profile.
    2. Open the management console of the Business Process profile.
    3. Go to Main → Carbon Applications → Add and select the CAR file.

...