<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
   <!--
      Remote API Bootstrap Extension Sequence. This file specifies the
      initialisation (and order of initialisation) to perform during Repository
      startup for beans in the Remote API project.
   -->
<beans>
   <bean id="remote-api.workflowBootstrap" parent="workflowDeployer">
      <property name="workflowDefinitions">
         <list>
            <!-- Remote API invite workflow definition -->
            <props>
               <prop key="engineId">jbpm</prop>
               <prop key="location">alfresco/workflow/invite_processdefinition.xml</prop>
               <prop key="mimetype">text/xml</prop>
               <prop key="redeploy">false</prop>
            </props>
         </list>
      </property>
      <property name="models">
         <list>
            <!-- Remote API invite workflow Model -->
            <value>alfresco/workflow/invite-workflow-model.xml</value>
         </list>
      </property>
      <property name="labels">
         <list>
            <!-- Remote API invite workflow Model -->
            <value>alfresco/workflow/invite-workflow-messages</value>
         </list>
      </property>
   </bean>
</beans>