cancel
Showing results for 
Search instead for 
Did you mean: 

Developing AMP containing Workflows

markhayen
Champ in-the-making
Champ in-the-making
Hi all,

I'm am developing an AMP which among other this also contains a number of workflows.
I have succeeded in deploying the module without these workflow.
But when I add the workflow part in the bootstrap-context.xml
the amp installation fails with an error that it can't find the corresponding xxx-messages.properties for locale nl_NL.

I've tried different locations but to no success.
Does anybody have any idea???

thanks in advance

Mark
4 REPLIES 4

dhalupa
Champ on-the-rise
Champ on-the-rise
Relevant part of module-context.xml
<bean id="extension.workflowBootstrap" parent="workflowDeployer">
      <property name="workflowDefinitions">
         <list>
            <props>
               <prop key="engineId">jbpm</prop>
               <prop key="location">alfresco/module/InvoiceVerification/processdefinition.xml</prop>
               <prop key="mimetype">text/xml</prop>
               <prop key="redeploy">true</prop>
            </props>
         </list>
      </property>
      <property name="labels">
         <list>
            <value>alfresco/module/InvoiceVerification/processdefinition</value>
         </list>
      </property>
   </bean>
processdefinition.properties file is in the same directory as procesdefinition.xml

Kind regards,

Denis

markhayen
Champ in-the-making
Champ in-the-making
Hi Denis,
I have almost the same:

  <bean id="nl.interaccess.webplus.gemeente.workflowBootstrap" parent="workflowDeployer">
      <property name="workflowDefinitions">
         <list>
            <props>
               <prop key="engineId">jbpm</prop>
               <prop key="location">alfresco/module/nl.interaccess.webplus.gemeente/workflow/evenementenvergunning_processdefinition.xml</prop>
               <prop key="mimetype">text/xml</prop>
               <prop key="redeploy">true</prop>
            </props>
            <props>
               <prop key="engineId">jbpm</prop>
               <prop key="location">alfresco/module/nl.interaccess.webplus.gemeente/workflow/verwerkXMLIn_processdefinition.xml</prop>
               <prop key="mimetype">text/xml</prop>
               <prop key="redeploy">true</prop>
            </props>
         </list>
      </property>
      <property name="models">
         <list>
            <value>alfresco/module/nl.interaccess.webplus.gemeente/workflow/evenementenvergunning_workflowModel.xml</value>
            <value>alfresco/module/nl.interaccess.webplus.gemeente/workflow/verwerkXMLIn_workflowModel.xml</value>
         </list>
      </property>
      <property name="labels">
         <list>
            <value>alfresco/module/nl.interaccess.webplus.gemeente/workflow/evenementenvergunning-messages</value>
         </list>
      </property>
   </bean>


do you see the problem?

Thx
Mark

dhalupa
Champ on-the-rise
Champ on-the-rise
Try renaming nl.interaccess.webplus.gemeente folder so that it does not contain dots

markhayen
Champ in-the-making
Champ in-the-making
Hi Denis,

I've found the problem  Smiley Very Happy

It appears that a module id containting periods
gives some problems

I'll investigate this further
and also I'm putting a Wiki article together about this

http://wiki.alfresco.com/wiki/Advanced_AMP%28_UNDER_CONSTRUCTION_%21%21%29

feel free to contribute
or to correct if I'm wrong

Mark