cancel
Showing results for 
Search instead for 
Did you mean: 

Two advanced custom workflows

fuad_gafarov
Champ in-the-making
Champ in-the-making
I implemented custom workflow.
How I can implemented another custom workflow?

I do all like my fisrt workflow. But nothing
4 REPLIES 4

ramesh_ram
Champ in-the-making
Champ in-the-making
in the same way.. as first advanced custom workflow, create processdefinition.xml, model.xml, message.properties,
and add just model.xml n message.properties in custom-model-content.xml and also in web-client-config-custom.xml
define the tasks of model..then deploy

fuad_gafarov
Champ in-the-making
Champ in-the-making
For 2nd workflow I create new custom-model-context (and rename) or use current?
My context named  trashco-model-context.

I added all needed files

ramesh_ram
Champ in-the-making
Champ in-the-making
hi..
just add your model in the existing context.xml file(i.e trashco-model-context.xml).

eg :
<bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
        <property name="models">
            <list>
                <value>alfresco/extension/model/ModelOne.xml</value>
                <value>alfresco/extension/model/ModelTwo.xml</value>
            </list>
        </property>
</bean>

same for property file also, add second property file in relevant place. Start the server and deploy 2nd work also will add in advanced workflow. Make sure that name space prefix must be different in both workflows.

fuad_gafarov
Champ in-the-making
Champ in-the-making
thanks Ramesh