How to deploy a process archive (.par) file ?

User Rating: 0 / 5

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

A process archive is a zip file containing information about a process graph.
The central file in the process archive is processdefinition.xmlwhich contain the structure of the process graph. The processdefinition.xml also contains information about actions and tasks. A process archive can also contain other process related files such as classes, ui-forms for tasks.

Here's a sample process.par file structure.

process.par
│   gpd.xml
│   processdefinition.xml

└───classes
    │   hibernate.cfg.mysql.xml
    │   jbpm-mysql-ds.xml
    │
    └───com
        └───sample
            └───action
                    MessageActionHandler.class

You can deploy the process archive just any other archive (by default on the deploy folder of JBoss server). Once you've deployed it, you can start work on your process, creating new Process Instances.

Here's the sample HelloWorld .par file generated by JBoss JBPM plugin:
Download

Related articles available on mastertheboss.com

JBPM tutorial

JBoss jBPM 3 is a flexible, extensible framework for process lang

How do I fire an action every time a JBPM Node enters?

JBoss recipe of the day

JBoss Jbpm superstates

What is a superstate ? a Superstate is a group of nodes. Supersta

Jbpm Mail delivery

Almost every workflow needs a notification of the process activit

How do you embed Java code in your JPDL ?

  You can use a BeanShell expression to add a Java script in you

JBPM best practices

There's no perfect rule to model your workflow, it depends on the

Follow us on Twitter