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.

│   gpd.xml
│   processdefinition.xml

    │   hibernate.cfg.mysql.xml
    │   jbpm-mysql-ds.xml

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:


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