summaryrefslogtreecommitdiff
path: root/src/main/resources/mapFiles
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2013-12-05 12:57:16 +0100
committerAndrew Branson <andrew.branson@cern.ch>2013-12-05 12:57:16 +0100
commit37bb1907aca2a3246a7b5d759df79b7fd97c276f (patch)
tree85d4d2a5e815c799a9592c410880c132bb6cd1bb /src/main/resources/mapFiles
parentd43164830403245353080f5d6f838ed9f56d9a35 (diff)
Add itemSysKey as a variable of the workflow during initialization.
Use this for creating the shared History map. Lock event writing on the Workflow rather than the Activity to keep the History in the transaction.
Diffstat (limited to 'src/main/resources/mapFiles')
-rw-r--r--src/main/resources/mapFiles/LifeCycleMap.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/resources/mapFiles/LifeCycleMap.xml b/src/main/resources/mapFiles/LifeCycleMap.xml
index 472fe84..45256c1 100644
--- a/src/main/resources/mapFiles/LifeCycleMap.xml
+++ b/src/main/resources/mapFiles/LifeCycleMap.xml
@@ -66,6 +66,9 @@
</class>
<class name="com.c2kernel.lifecycle.instance.Workflow" extends="com.c2kernel.lifecycle.instance.CompositeActivity">
<map-to xml="Workflow"/>
+ <field name="itemSysKey" type="integer" direct="false">
+ <bind-xml name="itemSysKey" node="attribute"/>
+ </field>
</class>
<class name="com.c2kernel.lifecycle.instance.Join" extends="com.c2kernel.lifecycle.instance.WfVertex">
<map-to xml="Join"/>