This plugin is used to import the predefined processes into the system.

To use the plugin in the component configuration, you must use the following target-component:
{code:xml}
<target-component>org.exoplatform.services.workflow.WorkflowServiceContainer</target-component>
{code}

The configuration is applied mainly in _packaging/workflow/webapp/src/main/webapp/WEB-INF/workflow-extension/workflow/bonita-configuration.xml_.

*Sample configuration*:
{code:xml}
<external-component-plugins>
    <target-component>org.exoplatform.services.workflow.WorkflowServiceContainer</target-component>
    <component-plugin>
        <name>deploy.predefined.processes</name>
        <set-method>addPlugin</set-method>
        <type>org.exoplatform.services.workflow.PredefinedProcessesPlugin</type>
        <init-params>
            <object-param>
                <name>predefined.processes</name>
                <description>load of default business processes</description>
                <object type="org.exoplatform.services.workflow.ProcessesConfig">
                    <field name="processLocation">
                        <string>war:/conf/bp</string>
                    </field>
                    <field name="predefinedProcess">
                        <collection type="java.util.HashSet">
                            <value>
                                <string>/exo-ecms-ext-workflow-bp-bonita-content-${project.version}.jar</string>
                            </value>
                            <value>
                                <string>/exo-ecms-ext-workflow-bp-bonita-payraise-${project.version}.jar</string>
                            </value>
                            <value>
                                <string>/exo-ecms-ext-workflow-bp-bonita-holiday-${project.version}.jar</string>
                            </value>
                        </collection>
                    </field>
                </object>
            </object-param>
        </init-params>
    </component-plugin>
</external-component-plugins>
{code}

In which:

* *name*: {{deploy.predefined.processes}}
* *set-method*: {{addPlugin}}
* *type*: {{org.exoplatform.services.workflow.PredefinedProcessesPlugin}}

* *Object type*: {{org.exoplatform.services.workflow.ProcessesConfig}}
||  *Field*  ||  *Type*  ||  *Value*   ||  *Description*  ||
| *processLocation* | {{string}} | {{war:/conf/bp}} | The path to the process. |
| *predefinedProcess* | {{HashSet}} | _{noformat}{java.util.HashSet}{noformat}_| The list of the processes. |