cancel
Showing results for 
Search instead for 
Did you mean: 

jBPM manual Deployment, where to indicate the files?

yaziderman
Champ in-the-making
Champ in-the-making
Hi Friends,

I am working on the customization of an advanced workflow, in the phase of deployment, according to many tutorials, i have to set the following section in a file under the extention folder:
<bean id="myworkflows.workflowBootstrap" parent="workflowDeployer">
<property name="workflowDefinitions">
<list>
<props>
<prop key="engineId">jbpm</prop>
<prop key="location">alfresco/workflow/adhoc_processdefinition.xml</prop>
<prop key="mimetype">text/xml</prop>
</props>
</list>
</property>
</bean>

Can anyone of you tell me what is this file called?! is it already available in Alfresco, or i have to create it?

by the way, i have the file : example-model-context.xml.sample already available as a template, should i use it? i am confused because its content is different a bit of the one above

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>

<beans>

    <!– Registration of new models –>
    <bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
        <property name="models">
            <list>
                <value>alfresco/extension/exampleModel.xml</value>
            </list>
        </property>
    </bean>

</beans>


Thank you in advance!

Note: I am working on alfresco-3.4.e version
2 REPLIES 2

ramesh_ram
Champ in-the-making
Champ in-the-making
this may be help full to you, I found this some where

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
    <!– Registration of new models –>
    <bean id="tcs.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
        <property name="models">
            <list>
                <value>alfresco/extension/model/testMetadataModel.xml</value>
                <!–<value>alfresco/extension/model/testMetadataModel.xml</value>–>
            </list>
        </property>
    </bean>
   
   <!– Registration of resource bundles –>
    <bean id="extension.workflowBootstrap" parent="workflowDeployer">
         <property name="labels">
                <list>
                   <value>alfresco.extension.testMetadata</value>
            </list>
        </property>
    </bean>
   
</beans>

mrogers
Star Contributor
Star Contributor
You create your spring configuration file and give it whatever name seems appropriate.    However the name must end in "context.xml"