BPM Suite 12c: Getting started with BPM Studio (JDeveloper) and Process Composer using Process Asset Manager (PAM)

4
Share this on .. Tweet about this on TwitterShare on LinkedIn1Share on Facebook4Share on Google+0Email this to someoneShare on Tumblr0Buffer this page

We see a clear trend with Oracle BPM Suite that the Process Composer – the browser based modeling IDE – is getting richer in functionality. Before too long, virtually all modeling/design and many implementation activities will be supported by Process Composer. With the upcoming Process Cloud Service where the process is created in its entirety through browser based tooling, this is of course necessary.

It will be a common practice to work on business processes both in Process Composer and in BPM Studio (JDeveloper). Exchanging the process definition between these two environments is essential for smooth collaboration. In this article, I provide some pointers to get going with Process Composer in BPM Suite 12c (12.1.3) and the interaction with BPM Studio – based on the Process Asset Manager (PAM) as well as ‘plain’ export/import.

Getting started with BPM Process Composer

Process Composer is available at http://host:port/bpm/composer.

On the home page, there are several areas that you can step into: business architecture and BPM processes are the main ones. To create a new BPM project, click on the plus icon in the BPM Project title area. Provide the name and description of the project and select an existing or new space.

image

Click on the Save button to create the new space and project.

The list of all projects is shown.You can click on the newly created project to enter it.

image

The project home is presented – with very little in it as it is new.

image

Click on the plus icon to create a new BPM process.

Provide the name of the process and a description. Click on the create button.

image

The new process is listed on the project home page. Click on it to start editing the process definition.

image

The virgin BPM Process is shown in the editor. You can edit

image

For example, drag an interactive activity (human task) to the process.

image

Next, when the activity has been added, you edit its properties:

image

Note: if the trigger type of your Start node is of type None – which happens to be the default – the when you checkout the BPM process into BPM Studio (JDeveloper), you will find that there is no BPMN process component included in the Composite application diagram or file. Thanks to Niall Commiskey for helping to figure out this particilar detail. As soon as the trigger type is set to Message or Event, the BPMN Component will be included in the Composite – as would be our expectation – or at least mine.

 

 

Publish to PAM

At some point you may want to share your edit results with the rest of the world – or at least make them available for editing in BPM Studio. By publishing your session, the current state of the process definition is recorded in PAM (the Process Asset Manager) and becomes available for use in JDeveloper.

Click on the Publish icon:

image

Provide a comment to describe this next step in the life of the BPM project and click on Publish:

image

Access PAM from JDeveloper

The Process Asset Manager is accessed from JDeveloper (BPM Studio) through a special type of connection that is created in a similar fashion as all other connection resources:

image

Select PAM from the list of IDE Connection types.

Press Next on Welcome page of the connection wizard:

SNAGHTMLa3db06

Provide the login details – for example weblogic

SNAGHTMLa44d67

and the host and port for the AdminServer for the WebLogic domain running the BPM Suite/SOA Suite runtime infrastructure:

SNAGHTMLa503e9

When you press Finish and the connection details are correct, the connection is added to the list:

image

From the Windows menu, select the option Process Asset Manager Navigator.

image

This will open a new window which lists the PAM Connections and the high level content for each of them (Space and Project):

image

You can inspect the publication history for the project that started its life in Process Composer

SNAGHTMLa8e800

And the project can be Checked Out to make it available in JDeveloper – in the current application:

image

You need to provide a file system location:

SNAGHTMLa99d5a

And after checking out..

SNAGHTMLa9f430

The project will open in JDeveloper:

image

including the BPM process:

image

 

After making changes to the process definition and the other project assets, these changes can be published to PAM – for further inspection and manipulation by other developers in JDeveloper or in Process Composer:

image

A checkin comment has to be provided:

image

and the changes are written to PAM (actually a database)

In Process Composer, the checkin is listed:

image

And the changed process definition can be reviewed and edited:

image

 

Exchanging projects without using the Process Asset Manager

Projects exported from Oracle Business Process Composer can be imported into Oracle BPM Studio. Exporting a project to your local file system allows you to share projects without using Oracle Process Asset Manager (PAM). You can export a project from the application welcome pages’ project list. Find the project you want to export from the list of projects located in the project list and click the Download icon.

image

Alternatively, use the main menu – hidden away under the circular icon in the top left hand corner (it took me a while to figure out that this icon was actually the hook into this menu)

image

Choose a location on your local file system and click Save.

SNAGHTMLabd886

Import is an option in JDeveloper’s File menu:

image

Specify the type of import:

image

and select the file to import:

SNAGHTMLacb415

The list of available projects in the file is listed and when you press finish the actual import is performed:

SNAGHTMLad4e70

Note that Export from JDeveloper (or from PAM) is done in a similar way. Import can be done from the main menu (opened from the big icon image) in Process Composer.

Share this on .. Tweet about this on TwitterShare on LinkedIn1Share on Facebook4Share on Google+0Email this to someoneShare on Tumblr0Buffer this page

About Author

Lucas Jellema, active in IT (and with Oracle) since 1994. Oracle ACE Director for Fusion Middleware. Consultant, trainer and instructor on diverse areas including Oracle Database (SQL & PL/SQL), Service Oriented Architecture, BPM, ADF, JavaScript, Java in various shapes and forms and many other things. Author of the Oracle Press books: Oracle SOA Suite 11g Handbook and Oracle SOA Suite 12c Handbook. Frequent presenter on conferences such as JavaOne and Oracle OpenWorld. Presenter for Oracle University Celebrity specials.

4 Comments

  1. Hi,

    I am trying to do the reverse i.e. I have created a bpmn model in jdeveloper and implemented too, then I imported into bpm composer and it successfully imported. But when I try to open the process in the composer I am getting “Error 500 : Please contact to oracle support”. Can we do like this or we can only export from bpm composer and import to jdeveloper.

    Regards,
    Anshul

    • Hi Anshul,

      Certainly you can do what you said before, think on PAM as an intermediary layer between both applications (JDEV standalone app and BPMComposer webapp), where PAM will be in charge to manage, persist and share your projects between them. There are a few operations that you can perform like import/export/checkout/delete either from jdev or composer. Answering your question, try creating a new PAM connection using the “Process Asset Manager view”, and then you will be able to “Save to PAM” your project (right click on your project), as soon as you save/import/share whatever you want to call it, it’ll be available from composer or any jdev that has your connection details.

      About the error 500, there should be a problem trying to load the project, check logs for more info.

      I hope it helps,
      Regards.

Leave A Reply