cancel
Showing results for 
Search instead for 
Did you mean: 

inherit fields between two tasks in activiti workflow

wajdi_ghribi
Champ in-the-making
Champ in-the-making
i m trying to implement a workflow with activiti designer that contains two tasks (createlawsuit and createcase), this is my model :

        <type name="scwf:createLawsuit">
            <parent>bpm:activitiOutcomeTask</parent>
            <properties>
                <property name="scwf:name">
                    <type>d:text</type>
                </property>
                <property name="scwf:adress">
                    <type>d:text</type>
                </property>
            </properties>              
        </type>
        <type name="scwf:createcase>
            <parent>scwf:createLawsuit</parent>
            <properties>
                <property name="scwf:casename">
                    <type>d:text</type>
                </property>
            </properties>              
        </type>

When i m in the task:"create case" i want that the fields(scwf:name and scwfadress) show up and they must contain the values already entered in the previous task(scwf:createlawsuit).
Does anyone has an idea about how to make that work, i will aprreciate that a lot, thanks!
1 REPLY 1

lementree
Champ on-the-rise
Champ on-the-rise
Hi,

use a aspect that contains these propertris and apply that as mandatory aspect to the both task, those values automatically come in 2nd task.