summaryrefslogtreecommitdiff
path: root/src/main/resources/boot
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2013-11-18 09:55:20 +0100
committerAndrew Branson <andrew.branson@cern.ch>2013-11-18 09:55:20 +0100
commit5400312250ddc5eb3b8c6af2272eb7e60624a7a2 (patch)
tree93b28a87b17bbd366c5e4bc07a32d4a34f4c07f2 /src/main/resources/boot
parenta0fc1a4f8c38ca74a85cb85fcf4f15a9600db221 (diff)
Remove unneeded activity properties for future compatibility.
Stop using old StateMachine constants for 3.0 compatibility (should actually use new PredefinedStep constants in 3.0 scripts)
Diffstat (limited to 'src/main/resources/boot')
-rw-r--r--src/main/resources/boot/CA/CompositeActivityFactory.xml4
-rw-r--r--src/main/resources/boot/CA/ElementaryActivityFactory.xml3
-rw-r--r--src/main/resources/boot/CA/ItemDescriptionFactoryWf.xml3
-rw-r--r--src/main/resources/boot/CA/ItemDescriptionWf.xml315
-rw-r--r--src/main/resources/boot/CA/ReadOnlyItemDescriptionWf.xml107
-rw-r--r--src/main/resources/boot/CA/SchemaFactoryWf.xml205
-rw-r--r--src/main/resources/boot/CA/ScriptFactoryWf.xml6
-rw-r--r--src/main/resources/boot/SC/LocalObjectDefCreator.xml3
8 files changed, 629 insertions, 17 deletions
diff --git a/src/main/resources/boot/CA/CompositeActivityFactory.xml b/src/main/resources/boot/CA/CompositeActivityFactory.xml
index 1a963cb..f94c729 100644
--- a/src/main/resources/boot/CA/CompositeActivityFactory.xml
+++ b/src/main/resources/boot/CA/CompositeActivityFactory.xml
@@ -35,7 +35,6 @@
<OutEdgeId>9</OutEdgeId>
<Properties>
<KeyValuePair Key="LastNum" String="2"/>
- <KeyValuePair Key="RoutingScriptVersion" String=""/>
<KeyValuePair Key="RoutingScriptName" String="javascript:true;"/>
</Properties>
</LoopDef>
@@ -48,9 +47,8 @@
<InEdgeId>12</InEdgeId>
<OutEdgeId>13</OutEdgeId>
<Properties>
- <KeyValuePair Key="Prefill" Boolean="false"/>
- <KeyValuePair Key="Prefill Version" String="-1"/>
<KeyValuePair Key="Name" String="CreateNewCompositeActivityDef"/>
+ <KeyValuePair Key="Version" Integer="0" />
<KeyValuePair Key="NewType" String="CA"/>
</Properties>
<activityDef>CreateNewLocalObjectDef</activityDef>
diff --git a/src/main/resources/boot/CA/ElementaryActivityFactory.xml b/src/main/resources/boot/CA/ElementaryActivityFactory.xml
index bf14607..796f473 100644
--- a/src/main/resources/boot/CA/ElementaryActivityFactory.xml
+++ b/src/main/resources/boot/CA/ElementaryActivityFactory.xml
@@ -35,7 +35,6 @@
<OutEdgeId>9</OutEdgeId>
<Properties>
<KeyValuePair Key="LastNum" String="2"/>
- <KeyValuePair Key="RoutingScriptVersion" String=""/>
<KeyValuePair Key="RoutingScriptName" String="javascript:true;"/>
</Properties>
</LoopDef>
@@ -48,8 +47,6 @@
<InEdgeId>12</InEdgeId>
<OutEdgeId>13</OutEdgeId>
<Properties>
- <KeyValuePair Key="Prefill" Boolean="false"/>
- <KeyValuePair Key="Prefill Version" String="-1"/>
<KeyValuePair Key="Name" String="CreateNewElementaryActivityDef"/>
<KeyValuePair Key="NewType" String="EA"/>
</Properties>
diff --git a/src/main/resources/boot/CA/ItemDescriptionFactoryWf.xml b/src/main/resources/boot/CA/ItemDescriptionFactoryWf.xml
index 270c473..56ab47f 100644
--- a/src/main/resources/boot/CA/ItemDescriptionFactoryWf.xml
+++ b/src/main/resources/boot/CA/ItemDescriptionFactoryWf.xml
@@ -29,7 +29,6 @@
<Properties>
<KeyValuePair Key="LastNum" String="2" />
<KeyValuePair Key="RoutingScriptName" String="javascript:true;" />
- <KeyValuePair Key="RoutingScriptVersion" String="" />
</Properties>
</LoopDef>
<ActivitySlotDef ID="11" Name="CreateItem slot"
@@ -43,7 +42,7 @@
<OutEdgeId>13</OutEdgeId>
<Properties>
<KeyValuePair Key="Name" String="CreateNewDescription" />
- <KeyValuePair Key="Version" String="last" />
+ <KeyValuePair Key="Version" Integer="0" />
</Properties>
<activityDef>CreateItem</activityDef>
</ActivitySlotDef>
diff --git a/src/main/resources/boot/CA/ItemDescriptionWf.xml b/src/main/resources/boot/CA/ItemDescriptionWf.xml
index e8c294f..e216df0 100644
--- a/src/main/resources/boot/CA/ItemDescriptionWf.xml
+++ b/src/main/resources/boot/CA/ItemDescriptionWf.xml
@@ -1 +1,314 @@
-<CompositeActivityDef ID="-1" Name="ItemDescriptionWf" Height="0" Width="0" IsLayoutable="false" IsComposite="true"><childrenGraphModel><GraphModelCastorData ClassNameOfVertexOutlineCreator="com.c2kernel.lifecycle.gui.model.WfVertexDefOutlineCreator" StartVertexId="0" NextId="37"><ActivitySlotDef ID="33" Name="CreateItem slot" Height="60" Width="130" IsLayoutable="true" IsComposite="false"><CentrePoint x="437" y="611"/><OutlinePoint x="372" y="581"/><OutlinePoint x="502" y="581"/><OutlinePoint x="502" y="641"/><OutlinePoint x="372" y="641"/><InEdgeId>35</InEdgeId><OutEdgeId>36</OutEdgeId><Properties><KeyValuePair Key="Name" String="CreateNewInstance"/><KeyValuePair Key="Version" String="last"/></Properties><activityDef>CreateItem</activityDef></ActivitySlotDef><LoopDef ID="19" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0"><CentrePoint x="540" y="676"/><OutlinePoint x="510" y="664"/><OutlinePoint x="570" y="664"/><OutlinePoint x="570" y="688"/><OutlinePoint x="510" y="688"/><InEdgeId>36</InEdgeId><OutEdgeId>29</OutEdgeId><OutEdgeId>32</OutEdgeId><Properties><KeyValuePair Key="LastNum" String="3"/><KeyValuePair Key="RoutingScriptName" String="javascript:true;"/><KeyValuePair Key="RoutingScriptVersion" String=""/></Properties></LoopDef><LoopDef ID="18" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0"><CentrePoint x="370" y="679"/><OutlinePoint x="340" y="667"/><OutlinePoint x="400" y="667"/><OutlinePoint x="400" y="691"/><OutlinePoint x="340" y="691"/><InEdgeId>25</InEdgeId><OutEdgeId>28</OutEdgeId><OutEdgeId>31</OutEdgeId><Properties><KeyValuePair Key="LastNum" String="2"/><KeyValuePair Key="RoutingScriptName" String="javascript:true;"/><KeyValuePair Key="RoutingScriptVersion" String=""/></Properties></LoopDef><JoinDef ID="9" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false"><CentrePoint x="472" y="449"/><OutlinePoint x="442" y="437"/><OutlinePoint x="502" y="437"/><OutlinePoint x="502" y="461"/><OutlinePoint x="442" y="461"/><InEdgeId>12</InEdgeId><InEdgeId>32</InEdgeId><OutEdgeId>35</OutEdgeId><Properties><KeyValuePair Key="Type" String="Join"/></Properties></JoinDef><JoinDef ID="20" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false"><CentrePoint x="370" y="792"/><OutlinePoint x="340" y="780"/><OutlinePoint x="400" y="780"/><OutlinePoint x="400" y="804"/><OutlinePoint x="340" y="804"/><InEdgeId>27</InEdgeId><InEdgeId>28</InEdgeId><InEdgeId>29</InEdgeId><Properties><KeyValuePair Key="Type" String="Join"/></Properties></JoinDef><LoopDef ID="17" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0"><CentrePoint x="158" y="677"/><OutlinePoint x="128" y="665"/><OutlinePoint x="188" y="665"/><OutlinePoint x="188" y="689"/><OutlinePoint x="128" y="689"/><InEdgeId>24</InEdgeId><OutEdgeId>27</OutEdgeId><OutEdgeId>30</OutEdgeId><Properties><KeyValuePair Key="LastNum" String="2"/><KeyValuePair Key="RoutingScriptName" String="javascript:true;"/><KeyValuePair Key="RoutingScriptVersion" String=""/></Properties></LoopDef><JoinDef ID="8" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false"><CentrePoint x="286" y="449"/><OutlinePoint x="256" y="437"/><OutlinePoint x="316" y="437"/><OutlinePoint x="316" y="461"/><OutlinePoint x="256" y="461"/><InEdgeId>11</InEdgeId><InEdgeId>31</InEdgeId><OutEdgeId>22</OutEdgeId><Properties><KeyValuePair Key="Type" String="Join"/></Properties></JoinDef><JoinDef ID="7" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false"><CentrePoint x="104" y="448"/><OutlinePoint x="74" y="436"/><OutlinePoint x="134" y="436"/><OutlinePoint x="134" y="460"/><OutlinePoint x="74" y="460"/><InEdgeId>10</InEdgeId><InEdgeId>30</InEdgeId><OutEdgeId>21</OutEdgeId><Properties><KeyValuePair Key="Type" String="Join"/></Properties></JoinDef><ActivitySlotDef ID="15" Name="SetInstanceWorkflow slot" Height="60" Width="130" IsLayoutable="true" IsComposite="false"><CentrePoint x="254" y="609"/><OutlinePoint x="189" y="579"/><OutlinePoint x="319" y="579"/><OutlinePoint x="319" y="639"/><OutlinePoint x="189" y="639"/><InEdgeId>22</InEdgeId><OutEdgeId>25</OutEdgeId><Properties><KeyValuePair Key="Name" String="ChangeInstanceWorkflow"/><KeyValuePair Key="Version" String="last"/></Properties><activityDef>SetInstanceWorkflow</activityDef></ActivitySlotDef><ActivitySlotDef ID="14" Name="EditPropertyDescription slot" Height="60" Width="130" IsLayoutable="true" IsComposite="false"><CentrePoint x="62" y="607"/><OutlinePoint x="-3" y="577"/><OutlinePoint x="127" y="577"/><OutlinePoint x="127" y="637"/><OutlinePoint x="-3" y="637"/><InEdgeId>21</InEdgeId><OutEdgeId>24</OutEdgeId><Properties><KeyValuePair Key="Name" String="EditPropertyDescription"/><KeyValuePair Key="Version" String="last"/></Properties><activityDef>EditPropertyDescription</activityDef></ActivitySlotDef><AndSplitDef ID="4" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false"><CentrePoint x="251" y="354"/><OutlinePoint x="221" y="342"/><OutlinePoint x="281" y="342"/><OutlinePoint x="281" y="366"/><OutlinePoint x="221" y="366"/><InEdgeId>13</InEdgeId><OutEdgeId>10</OutEdgeId><OutEdgeId>11</OutEdgeId><OutEdgeId>12</OutEdgeId><Properties><KeyValuePair Key="RoutingScriptName" String=""/><KeyValuePair Key="RoutingScriptVersion" String=""/></Properties></AndSplitDef><ActivitySlotDef ID="1" Name="SetInstanceWorkflow slot" Height="60" Width="130" IsLayoutable="true" IsComposite="false"><CentrePoint x="251" y="231"/><OutlinePoint x="186" y="201"/><OutlinePoint x="316" y="201"/><OutlinePoint x="316" y="261"/><OutlinePoint x="186" y="261"/><InEdgeId>2</InEdgeId><OutEdgeId>13</OutEdgeId><Properties><KeyValuePair Key="Name" String="SetInstanceWorkflow"/><KeyValuePair Key="Version" String="last"/></Properties><activityDef>SetInstanceWorkflow</activityDef></ActivitySlotDef><ActivitySlotDef ID="0" Name="EditPropertyDescription slot" Height="60" Width="130" IsLayoutable="true" IsComposite="false"><CentrePoint x="251" y="105"/><OutlinePoint x="186" y="75"/><OutlinePoint x="316" y="75"/><OutlinePoint x="316" y="135"/><OutlinePoint x="186" y="135"/><OutEdgeId>2</OutEdgeId><Properties><KeyValuePair Key="Name" String="SetPropertyDescription"/><KeyValuePair Key="Version" String="last"/></Properties><activityDef>EditPropertyDescription</activityDef></ActivitySlotDef><NextDef ID="32" OriginVertexId="19" TerminusVertexId="9"><OriginPoint x="540" y="676"/><TerminusPoint x="472" y="449"/><Properties><KeyValuePair Key="Alias" String="true"/></Properties></NextDef><NextDef ID="29" OriginVertexId="19" TerminusVertexId="20"><OriginPoint x="540" y="676"/><TerminusPoint x="370" y="792"/><Properties><KeyValuePair Key="Alias" String="false"/></Properties></NextDef><NextDef ID="31" OriginVertexId="18" TerminusVertexId="8"><OriginPoint x="370" y="679"/><TerminusPoint x="286" y="449"/><Properties><KeyValuePair Key="Alias" String="true"/></Properties></NextDef><NextDef ID="28" OriginVertexId="18" TerminusVertexId="20"><OriginPoint x="370" y="679"/><TerminusPoint x="370" y="792"/><Properties><KeyValuePair Key="Alias" String="false"/></Properties></NextDef><NextDef ID="30" OriginVertexId="17" TerminusVertexId="7"><OriginPoint x="158" y="677"/><TerminusPoint x="104" y="448"/><Properties><KeyValuePair Key="Alias" String="true"/></Properties></NextDef><NextDef ID="27" OriginVertexId="17" TerminusVertexId="20"><OriginPoint x="158" y="677"/><TerminusPoint x="370" y="792"/><Properties><KeyValuePair Key="Alias" String="false"/></Properties></NextDef><NextDef ID="25" OriginVertexId="15" TerminusVertexId="18"><OriginPoint x="254" y="609"/><TerminusPoint x="370" y="679"/><Properties/></NextDef><NextDef ID="24" OriginVertexId="14" TerminusVertexId="17"><OriginPoint x="62" y="607"/><TerminusPoint x="158" y="677"/><Properties/></NextDef><NextDef ID="22" OriginVertexId="8" TerminusVertexId="15"><OriginPoint x="286" y="449"/><TerminusPoint x="254" y="609"/><Properties/></NextDef><NextDef ID="21" OriginVertexId="7" TerminusVertexId="14"><OriginPoint x="104" y="448"/><TerminusPoint x="62" y="607"/><Properties/></NextDef><NextDef ID="13" OriginVertexId="1" TerminusVertexId="4"><OriginPoint x="251" y="231"/><TerminusPoint x="251" y="354"/><Properties/></NextDef><NextDef ID="12" OriginVertexId="4" TerminusVertexId="9"><OriginPoint x="251" y="354"/><TerminusPoint x="472" y="449"/><Properties/></NextDef><NextDef ID="11" OriginVertexId="4" TerminusVertexId="8"><OriginPoint x="251" y="354"/><TerminusPoint x="286" y="449"/><Properties/></NextDef><NextDef ID="2" OriginVertexId="0" TerminusVertexId="1"><OriginPoint x="251" y="105"/><TerminusPoint x="251" y="231"/><Properties/></NextDef><NextDef ID="10" OriginVertexId="4" TerminusVertexId="7"><OriginPoint x="251" y="354"/><TerminusPoint x="104" y="448"/><Properties/></NextDef><NextDef ID="36" OriginVertexId="33" TerminusVertexId="19"><OriginPoint x="437" y="611"/><TerminusPoint x="540" y="676"/><Properties/></NextDef><NextDef ID="35" OriginVertexId="9" TerminusVertexId="33"><OriginPoint x="472" y="449"/><TerminusPoint x="437" y="611"/><Properties/></NextDef></GraphModelCastorData></childrenGraphModel><Properties><KeyValuePair Key="Description" String=""/><KeyValuePair Key="Ignorable" Boolean="false"/><KeyValuePair Key="ScriptVersion" String=""/><KeyValuePair Key="Mail Message" String=""/><KeyValuePair Key="Viewpoint" String=""/><KeyValuePair Key="Agent Name" String=""/><KeyValuePair Key="SchemaVersion" String=""/><KeyValuePair Key="Skippable" Boolean="false"/><KeyValuePair Key="ScriptName" String=""/><KeyValuePair Key="Mail event" String=""/><KeyValuePair Key="Autostart" Boolean="true"/><KeyValuePair Key="Repeatable" Boolean="false"/><KeyValuePair Key="Show time" Boolean="true"/><KeyValuePair Key="Agent Role" String=""/><KeyValuePair Key="AlwaysUseOutcome" Boolean="false"/><KeyValuePair Key="SchemaType" String=""/></Properties></CompositeActivityDef> \ No newline at end of file
+<CompositeActivityDef ID="-1" Name="ItemDescriptionWf"
+ Height="0" Width="0" IsLayoutable="false" IsComposite="true">
+ <childrenGraphModel>
+ <GraphModelCastorData
+ ClassNameOfVertexOutlineCreator="com.c2kernel.lifecycle.gui.model.WfVertexDefOutlineCreator"
+ StartVertexId="0" NextId="37">
+ <ActivitySlotDef ID="33" Name="CreateItem slot"
+ Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="437" y="611" />
+ <OutlinePoint x="372" y="581" />
+ <OutlinePoint x="502" y="581" />
+ <OutlinePoint x="502" y="641" />
+ <OutlinePoint x="372" y="641" />
+ <InEdgeId>35</InEdgeId>
+ <OutEdgeId>36</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Name" String="CreateNewInstance" />
+ <KeyValuePair Key="Version" Integer="0" />
+ </Properties>
+ <activityDef>CreateItem</activityDef>
+ </ActivitySlotDef>
+ <LoopDef ID="19" Name="" Height="24" Width="60" IsLayoutable="true"
+ IsComposite="false" isNext="0">
+ <CentrePoint x="540" y="676" />
+ <OutlinePoint x="510" y="664" />
+ <OutlinePoint x="570" y="664" />
+ <OutlinePoint x="570" y="688" />
+ <OutlinePoint x="510" y="688" />
+ <InEdgeId>36</InEdgeId>
+ <OutEdgeId>29</OutEdgeId>
+ <OutEdgeId>32</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="3" />
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;" />
+ </Properties>
+ </LoopDef>
+ <LoopDef ID="18" Name="" Height="24" Width="60" IsLayoutable="true"
+ IsComposite="false" isNext="0">
+ <CentrePoint x="370" y="679" />
+ <OutlinePoint x="340" y="667" />
+ <OutlinePoint x="400" y="667" />
+ <OutlinePoint x="400" y="691" />
+ <OutlinePoint x="340" y="691" />
+ <InEdgeId>25</InEdgeId>
+ <OutEdgeId>28</OutEdgeId>
+ <OutEdgeId>31</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="2" />
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;" />
+ </Properties>
+ </LoopDef>
+ <JoinDef ID="9" Name="" Height="24" Width="60" IsLayoutable="true"
+ IsComposite="false">
+ <CentrePoint x="472" y="449" />
+ <OutlinePoint x="442" y="437" />
+ <OutlinePoint x="502" y="437" />
+ <OutlinePoint x="502" y="461" />
+ <OutlinePoint x="442" y="461" />
+ <InEdgeId>12</InEdgeId>
+ <InEdgeId>32</InEdgeId>
+ <OutEdgeId>35</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join" />
+ </Properties>
+ </JoinDef>
+ <JoinDef ID="20" Name="" Height="24" Width="60" IsLayoutable="true"
+ IsComposite="false">
+ <CentrePoint x="370" y="792" />
+ <OutlinePoint x="340" y="780" />
+ <OutlinePoint x="400" y="780" />
+ <OutlinePoint x="400" y="804" />
+ <OutlinePoint x="340" y="804" />
+ <InEdgeId>27</InEdgeId>
+ <InEdgeId>28</InEdgeId>
+ <InEdgeId>29</InEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join" />
+ </Properties>
+ </JoinDef>
+ <LoopDef ID="17" Name="" Height="24" Width="60" IsLayoutable="true"
+ IsComposite="false" isNext="0">
+ <CentrePoint x="158" y="677" />
+ <OutlinePoint x="128" y="665" />
+ <OutlinePoint x="188" y="665" />
+ <OutlinePoint x="188" y="689" />
+ <OutlinePoint x="128" y="689" />
+ <InEdgeId>24</InEdgeId>
+ <OutEdgeId>27</OutEdgeId>
+ <OutEdgeId>30</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="2" />
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;" />
+ </Properties>
+ </LoopDef>
+ <JoinDef ID="8" Name="" Height="24" Width="60" IsLayoutable="true"
+ IsComposite="false">
+ <CentrePoint x="286" y="449" />
+ <OutlinePoint x="256" y="437" />
+ <OutlinePoint x="316" y="437" />
+ <OutlinePoint x="316" y="461" />
+ <OutlinePoint x="256" y="461" />
+ <InEdgeId>11</InEdgeId>
+ <InEdgeId>31</InEdgeId>
+ <OutEdgeId>22</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join" />
+ </Properties>
+ </JoinDef>
+ <JoinDef ID="7" Name="" Height="24" Width="60" IsLayoutable="true"
+ IsComposite="false">
+ <CentrePoint x="104" y="448" />
+ <OutlinePoint x="74" y="436" />
+ <OutlinePoint x="134" y="436" />
+ <OutlinePoint x="134" y="460" />
+ <OutlinePoint x="74" y="460" />
+ <InEdgeId>10</InEdgeId>
+ <InEdgeId>30</InEdgeId>
+ <OutEdgeId>21</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join" />
+ </Properties>
+ </JoinDef>
+ <ActivitySlotDef ID="15" Name="SetInstanceWorkflow slot"
+ Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="254" y="609" />
+ <OutlinePoint x="189" y="579" />
+ <OutlinePoint x="319" y="579" />
+ <OutlinePoint x="319" y="639" />
+ <OutlinePoint x="189" y="639" />
+ <InEdgeId>22</InEdgeId>
+ <OutEdgeId>25</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Name" String="ChangeInstanceWorkflow" />
+ <KeyValuePair Key="Version" Integer="0" />
+ </Properties>
+ <activityDef>SetInstanceWorkflow</activityDef>
+ </ActivitySlotDef>
+ <ActivitySlotDef ID="14" Name="EditPropertyDescription slot"
+ Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="62" y="607" />
+ <OutlinePoint x="-3" y="577" />
+ <OutlinePoint x="127" y="577" />
+ <OutlinePoint x="127" y="637" />
+ <OutlinePoint x="-3" y="637" />
+ <InEdgeId>21</InEdgeId>
+ <OutEdgeId>24</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Name" String="EditPropertyDescription" />
+ <KeyValuePair Key="Version" Integer="0" />
+ </Properties>
+ <activityDef>EditPropertyDescription</activityDef>
+ </ActivitySlotDef>
+ <AndSplitDef ID="4" Name="" Height="24" Width="60"
+ IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="251" y="354" />
+ <OutlinePoint x="221" y="342" />
+ <OutlinePoint x="281" y="342" />
+ <OutlinePoint x="281" y="366" />
+ <OutlinePoint x="221" y="366" />
+ <InEdgeId>13</InEdgeId>
+ <OutEdgeId>10</OutEdgeId>
+ <OutEdgeId>11</OutEdgeId>
+ <OutEdgeId>12</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="RoutingScriptName" String="" />
+ </Properties>
+ </AndSplitDef>
+ <ActivitySlotDef ID="1" Name="SetInstanceWorkflow slot"
+ Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="251" y="231" />
+ <OutlinePoint x="186" y="201" />
+ <OutlinePoint x="316" y="201" />
+ <OutlinePoint x="316" y="261" />
+ <OutlinePoint x="186" y="261" />
+ <InEdgeId>2</InEdgeId>
+ <OutEdgeId>13</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Name" String="SetInstanceWorkflow" />
+ <KeyValuePair Key="Version" Integer="0" />
+ </Properties>
+ <activityDef>SetInstanceWorkflow</activityDef>
+ </ActivitySlotDef>
+ <ActivitySlotDef ID="0" Name="EditPropertyDescription slot"
+ Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="251" y="105" />
+ <OutlinePoint x="186" y="75" />
+ <OutlinePoint x="316" y="75" />
+ <OutlinePoint x="316" y="135" />
+ <OutlinePoint x="186" y="135" />
+ <OutEdgeId>2</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Name" String="SetPropertyDescription" />
+ <KeyValuePair Key="Version" Integer="0" />
+ </Properties>
+ <activityDef>EditPropertyDescription</activityDef>
+ </ActivitySlotDef>
+ <NextDef ID="32" OriginVertexId="19" TerminusVertexId="9">
+ <OriginPoint x="540" y="676" />
+ <TerminusPoint x="472" y="449" />
+ <Properties>
+ <KeyValuePair Key="Alias" String="true" />
+ </Properties>
+ </NextDef>
+ <NextDef ID="29" OriginVertexId="19" TerminusVertexId="20">
+ <OriginPoint x="540" y="676" />
+ <TerminusPoint x="370" y="792" />
+ <Properties>
+ <KeyValuePair Key="Alias" String="false" />
+ </Properties>
+ </NextDef>
+ <NextDef ID="31" OriginVertexId="18" TerminusVertexId="8">
+ <OriginPoint x="370" y="679" />
+ <TerminusPoint x="286" y="449" />
+ <Properties>
+ <KeyValuePair Key="Alias" String="true" />
+ </Properties>
+ </NextDef>
+ <NextDef ID="28" OriginVertexId="18" TerminusVertexId="20">
+ <OriginPoint x="370" y="679" />
+ <TerminusPoint x="370" y="792" />
+ <Properties>
+ <KeyValuePair Key="Alias" String="false" />
+ </Properties>
+ </NextDef>
+ <NextDef ID="30" OriginVertexId="17" TerminusVertexId="7">
+ <OriginPoint x="158" y="677" />
+ <TerminusPoint x="104" y="448" />
+ <Properties>
+ <KeyValuePair Key="Alias" String="true" />
+ </Properties>
+ </NextDef>
+ <NextDef ID="27" OriginVertexId="17" TerminusVertexId="20">
+ <OriginPoint x="158" y="677" />
+ <TerminusPoint x="370" y="792" />
+ <Properties>
+ <KeyValuePair Key="Alias" String="false" />
+ </Properties>
+ </NextDef>
+ <NextDef ID="25" OriginVertexId="15" TerminusVertexId="18">
+ <OriginPoint x="254" y="609" />
+ <TerminusPoint x="370" y="679" />
+ <Properties />
+ </NextDef>
+ <NextDef ID="24" OriginVertexId="14" TerminusVertexId="17">
+ <OriginPoint x="62" y="607" />
+ <TerminusPoint x="158" y="677" />
+ <Properties />
+ </NextDef>
+ <NextDef ID="22" OriginVertexId="8" TerminusVertexId="15">
+ <OriginPoint x="286" y="449" />
+ <TerminusPoint x="254" y="609" />
+ <Properties />
+ </NextDef>
+ <NextDef ID="21" OriginVertexId="7" TerminusVertexId="14">
+ <OriginPoint x="104" y="448" />
+ <TerminusPoint x="62" y="607" />
+ <Properties />
+ </NextDef>
+ <NextDef ID="13" OriginVertexId="1" TerminusVertexId="4">
+ <OriginPoint x="251" y="231" />
+ <TerminusPoint x="251" y="354" />
+ <Properties />
+ </NextDef>
+ <NextDef ID="12" OriginVertexId="4" TerminusVertexId="9">
+ <OriginPoint x="251" y="354" />
+ <TerminusPoint x="472" y="449" />
+ <Properties />
+ </NextDef>
+ <NextDef ID="11" OriginVertexId="4" TerminusVertexId="8">
+ <OriginPoint x="251" y="354" />
+ <TerminusPoint x="286" y="449" />
+ <Properties />
+ </NextDef>
+ <NextDef ID="2" OriginVertexId="0" TerminusVertexId="1">
+ <OriginPoint x="251" y="105" />
+ <TerminusPoint x="251" y="231" />
+ <Properties />
+ </NextDef>
+ <NextDef ID="10" OriginVertexId="4" TerminusVertexId="7">
+ <OriginPoint x="251" y="354" />
+ <TerminusPoint x="104" y="448" />
+ <Properties />
+ </NextDef>
+ <NextDef ID="36" OriginVertexId="33" TerminusVertexId="19">
+ <OriginPoint x="437" y="611" />
+ <TerminusPoint x="540" y="676" />
+ <Properties />
+ </NextDef>
+ <NextDef ID="35" OriginVertexId="9" TerminusVertexId="33">
+ <OriginPoint x="472" y="449" />
+ <TerminusPoint x="437" y="611" />
+ <Properties />
+ </NextDef>
+ </GraphModelCastorData>
+ </childrenGraphModel>
+ <Properties>
+ <KeyValuePair Key="Description" String="" />
+ <KeyValuePair Key="Ignorable" Boolean="false" />
+ <KeyValuePair Key="ScriptVersion" String="" />
+ <KeyValuePair Key="Mail Message" String="" />
+ <KeyValuePair Key="Viewpoint" String="" />
+ <KeyValuePair Key="Agent Name" String="" />
+ <KeyValuePair Key="SchemaVersion" String="" />
+ <KeyValuePair Key="Skippable" Boolean="false" />
+ <KeyValuePair Key="ScriptName" String="" />
+ <KeyValuePair Key="Mail event" String="" />
+ <KeyValuePair Key="Autostart" Boolean="true" />
+ <KeyValuePair Key="Repeatable" Boolean="false" />
+ <KeyValuePair Key="Show time" Boolean="true" />
+ <KeyValuePair Key="Agent Role" String="" />
+ <KeyValuePair Key="AlwaysUseOutcome" Boolean="false" />
+ <KeyValuePair Key="SchemaType" String="" />
+ </Properties>
+</CompositeActivityDef> \ No newline at end of file
diff --git a/src/main/resources/boot/CA/ReadOnlyItemDescriptionWf.xml b/src/main/resources/boot/CA/ReadOnlyItemDescriptionWf.xml
index b91cbd4..7ca7ce9 100644
--- a/src/main/resources/boot/CA/ReadOnlyItemDescriptionWf.xml
+++ b/src/main/resources/boot/CA/ReadOnlyItemDescriptionWf.xml
@@ -1 +1,106 @@
-<CompositeActivityDef ID="-1" Name="ItemDescriptionWf" Height="0" Width="0" IsLayoutable="false" IsComposite="true"><childrenGraphModel><GraphModelCastorData ClassNameOfVertexOutlineCreator="com.c2kernel.lifecycle.gui.model.WfVertexDefOutlineCreator" StartVertexId="9" NextId="37"><ActivitySlotDef ID="33" Name="CreateItem slot" Height="60" Width="130" IsLayoutable="true" IsComposite="false"><CentrePoint x="137" y="139"/><OutlinePoint x="72" y="109"/><OutlinePoint x="202" y="109"/><OutlinePoint x="202" y="169"/><OutlinePoint x="72" y="169"/><InEdgeId>35</InEdgeId><OutEdgeId>36</OutEdgeId><Properties><KeyValuePair Key="Name" String="CreateNewInstance"/><KeyValuePair Key="Version" String="last"/></Properties><activityDef>CreateItem</activityDef></ActivitySlotDef><LoopDef ID="19" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0"><CentrePoint x="274" y="219"/><OutlinePoint x="244" y="207"/><OutlinePoint x="304" y="207"/><OutlinePoint x="304" y="231"/><OutlinePoint x="244" y="231"/><InEdgeId>36</InEdgeId><OutEdgeId>29</OutEdgeId><OutEdgeId>32</OutEdgeId><Properties><KeyValuePair Key="LastNum" String="3"/><KeyValuePair Key="RoutingScriptName" String="javascript:true;"/><KeyValuePair Key="RoutingScriptVersion" String=""/></Properties></LoopDef><JoinDef ID="9" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false"><CentrePoint x="274" y="60"/><OutlinePoint x="244" y="48"/><OutlinePoint x="304" y="48"/><OutlinePoint x="304" y="72"/><OutlinePoint x="244" y="72"/><InEdgeId>32</InEdgeId><OutEdgeId>35</OutEdgeId><Properties><KeyValuePair Key="Type" String="Join"/></Properties></JoinDef><JoinDef ID="20" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false"><CentrePoint x="274" y="295"/><OutlinePoint x="244" y="283"/><OutlinePoint x="304" y="283"/><OutlinePoint x="304" y="307"/><OutlinePoint x="244" y="307"/><InEdgeId>29</InEdgeId><Properties><KeyValuePair Key="Type" String="Join"/></Properties></JoinDef><NextDef ID="32" OriginVertexId="19" TerminusVertexId="9"><OriginPoint x="274" y="219"/><TerminusPoint x="274" y="60"/><Properties><KeyValuePair Key="Alias" String="true"/></Properties></NextDef><NextDef ID="29" OriginVertexId="19" TerminusVertexId="20"><OriginPoint x="274" y="219"/><TerminusPoint x="274" y="295"/><Properties><KeyValuePair Key="Alias" String="false"/></Properties></NextDef><NextDef ID="36" OriginVertexId="33" TerminusVertexId="19"><OriginPoint x="137" y="139"/><TerminusPoint x="274" y="219"/><Properties/></NextDef><NextDef ID="35" OriginVertexId="9" TerminusVertexId="33"><OriginPoint x="274" y="60"/><TerminusPoint x="137" y="139"/><Properties/></NextDef></GraphModelCastorData></childrenGraphModel><Properties><KeyValuePair Key="Description" String=""/><KeyValuePair Key="Ignorable" Boolean="false"/><KeyValuePair Key="ScriptVersion" String=""/><KeyValuePair Key="Mail Message" String=""/><KeyValuePair Key="Viewpoint" String=""/><KeyValuePair Key="Agent Name" String=""/><KeyValuePair Key="SchemaVersion" String=""/><KeyValuePair Key="Skippable" Boolean="false"/><KeyValuePair Key="ScriptName" String=""/><KeyValuePair Key="Mail event" String=""/><KeyValuePair Key="Autostart" Boolean="true"/><KeyValuePair Key="Repeatable" Boolean="false"/><KeyValuePair Key="Show time" Boolean="true"/><KeyValuePair Key="Agent Role" String=""/><KeyValuePair Key="AlwaysUseOutcome" Boolean="false"/><KeyValuePair Key="SchemaType" String=""/></Properties></CompositeActivityDef> \ No newline at end of file
+<CompositeActivityDef ID="-1" Name="ItemDescriptionWf"
+ Height="0" Width="0" IsLayoutable="false" IsComposite="true">
+ <childrenGraphModel>
+ <GraphModelCastorData
+ ClassNameOfVertexOutlineCreator="com.c2kernel.lifecycle.gui.model.WfVertexDefOutlineCreator"
+ StartVertexId="9" NextId="37">
+ <ActivitySlotDef ID="33" Name="CreateItem slot"
+ Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="137" y="139" />
+ <OutlinePoint x="72" y="109" />
+ <OutlinePoint x="202" y="109" />
+ <OutlinePoint x="202" y="169" />
+ <OutlinePoint x="72" y="169" />
+ <InEdgeId>35</InEdgeId>
+ <OutEdgeId>36</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Name" String="CreateNewInstance" />
+ <KeyValuePair Key="Version" Integer="0" />
+ </Properties>
+ <activityDef>CreateItem</activityDef>
+ </ActivitySlotDef>
+ <LoopDef ID="19" Name="" Height="24" Width="60" IsLayoutable="true"
+ IsComposite="false" isNext="0">
+ <CentrePoint x="274" y="219" />
+ <OutlinePoint x="244" y="207" />
+ <OutlinePoint x="304" y="207" />
+ <OutlinePoint x="304" y="231" />
+ <OutlinePoint x="244" y="231" />
+ <InEdgeId>36</InEdgeId>
+ <OutEdgeId>29</OutEdgeId>
+ <OutEdgeId>32</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="3" />
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;" />
+ </Properties>
+ </LoopDef>
+ <JoinDef ID="9" Name="" Height="24" Width="60" IsLayoutable="true"
+ IsComposite="false">
+ <CentrePoint x="274" y="60" />
+ <OutlinePoint x="244" y="48" />
+ <OutlinePoint x="304" y="48" />
+ <OutlinePoint x="304" y="72" />
+ <OutlinePoint x="244" y="72" />
+ <InEdgeId>32</InEdgeId>
+ <OutEdgeId>35</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join" />
+ </Properties>
+ </JoinDef>
+ <JoinDef ID="20" Name="" Height="24" Width="60" IsLayoutable="true"
+ IsComposite="false">
+ <CentrePoint x="274" y="295" />
+ <OutlinePoint x="244" y="283" />
+ <OutlinePoint x="304" y="283" />
+ <OutlinePoint x="304" y="307" />
+ <OutlinePoint x="244" y="307" />
+ <InEdgeId>29</InEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join" />
+ </Properties>
+ </JoinDef>
+ <NextDef ID="32" OriginVertexId="19" TerminusVertexId="9">
+ <OriginPoint x="274" y="219" />
+ <TerminusPoint x="274" y="60" />
+ <Properties>
+ <KeyValuePair Key="Alias" String="true" />
+ </Properties>
+ </NextDef>
+ <NextDef ID="29" OriginVertexId="19" TerminusVertexId="20">
+ <OriginPoint x="274" y="219" />
+ <TerminusPoint x="274" y="295" />
+ <Properties>
+ <KeyValuePair Key="Alias" String="false" />
+ </Properties>
+ </NextDef>
+ <NextDef ID="36" OriginVertexId="33" TerminusVertexId="19">
+ <OriginPoint x="137" y="139" />
+ <TerminusPoint x="274" y="219" />
+ <Properties />
+ </NextDef>
+ <NextDef ID="35" OriginVertexId="9" TerminusVertexId="33">
+ <OriginPoint x="274" y="60" />
+ <TerminusPoint x="137" y="139" />
+ <Properties />
+ </NextDef>
+ </GraphModelCastorData>
+ </childrenGraphModel>
+ <Properties>
+ <KeyValuePair Key="Description" String="" />
+ <KeyValuePair Key="Ignorable" Boolean="false" />
+ <KeyValuePair Key="ScriptVersion" String="" />
+ <KeyValuePair Key="Mail Message" String="" />
+ <KeyValuePair Key="Viewpoint" String="" />
+ <KeyValuePair Key="Agent Name" String="" />
+ <KeyValuePair Key="SchemaVersion" String="" />
+ <KeyValuePair Key="Skippable" Boolean="false" />
+ <KeyValuePair Key="ScriptName" String="" />
+ <KeyValuePair Key="Mail event" String="" />
+ <KeyValuePair Key="Autostart" Boolean="true" />
+ <KeyValuePair Key="Repeatable" Boolean="false" />
+ <KeyValuePair Key="Show time" Boolean="true" />
+ <KeyValuePair Key="Agent Role" String="" />
+ <KeyValuePair Key="AlwaysUseOutcome" Boolean="false" />
+ <KeyValuePair Key="SchemaType" String="" />
+ </Properties>
+</CompositeActivityDef> \ No newline at end of file
diff --git a/src/main/resources/boot/CA/SchemaFactoryWf.xml b/src/main/resources/boot/CA/SchemaFactoryWf.xml
index 0eabac0..9b709fd 100644
--- a/src/main/resources/boot/CA/SchemaFactoryWf.xml
+++ b/src/main/resources/boot/CA/SchemaFactoryWf.xml
@@ -1 +1,204 @@
-<CompositeActivityDef ID="-1" Name="SchemaFactoryWf" Height="0" Width="0" IsLayoutable="false" IsComposite="true"><childrenGraphModel><GraphModelCastorData StartVertexId="15" NextId="24"><JoinDef ID="6" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false"><CentrePoint x="334" y="402"/><OutlinePoint x="304" y="390"/><OutlinePoint x="364" y="390"/><OutlinePoint x="364" y="414"/><OutlinePoint x="304" y="414"/><InEdgeId>9</InEdgeId><InEdgeId>22</InEdgeId><Properties><KeyValuePair Key="Type" String="Join"/></Properties></JoinDef><AndSplitDef ID="15" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false"><CentrePoint x="337" y="32"/><OutlinePoint x="307" y="20"/><OutlinePoint x="367" y="20"/><OutlinePoint x="367" y="44"/><OutlinePoint x="307" y="44"/><OutEdgeId>16</OutEdgeId><OutEdgeId>19</OutEdgeId><Properties><KeyValuePair Key="RoutingScriptName" String=""/><KeyValuePair Key="RoutingScriptVersion" String=""/></Properties></AndSplitDef><JoinDef ID="5" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false"><CentrePoint x="251" y="95"/><OutlinePoint x="221" y="83"/><OutlinePoint x="281" y="83"/><OutlinePoint x="281" y="107"/><OutlinePoint x="221" y="107"/><InEdgeId>7</InEdgeId><InEdgeId>16</InEdgeId><OutEdgeId>12</OutEdgeId><Properties><KeyValuePair Key="Type" String="Join"/></Properties></JoinDef><ActivitySlotDef ID="14" Name="EditSchema slot" Height="60" Width="130" IsLayoutable="true" IsComposite="false"><CentrePoint x="512" y="219"/><OutlinePoint x="447" y="189"/><OutlinePoint x="577" y="189"/><OutlinePoint x="577" y="249"/><OutlinePoint x="447" y="249"/><InEdgeId>20</InEdgeId><OutEdgeId>21</OutEdgeId><Properties><KeyValuePair Key="Name" String="EditEmptySchema"/><KeyValuePair Key="Version" String="last"/></Properties><activityDef>EditSchema</activityDef></ActivitySlotDef><LoopDef ID="3" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0"><CentrePoint x="251" y="307"/><OutlinePoint x="221" y="295"/><OutlinePoint x="281" y="295"/><OutlinePoint x="281" y="319"/><OutlinePoint x="221" y="319"/><InEdgeId>13</InEdgeId><OutEdgeId>7</OutEdgeId><OutEdgeId>9</OutEdgeId><Properties><KeyValuePair Key="LastNum" String="2"/><KeyValuePair Key="RoutingScriptName" String="javascript:true;"/><KeyValuePair Key="RoutingScriptVersion" String=""/></Properties></LoopDef><ActivitySlotDef ID="10" Name="CreateNewLocalObjectDef_" Height="60" Width="130" IsLayoutable="true" IsComposite="false"><CentrePoint x="133" y="215"/><OutlinePoint x="68" y="185"/><OutlinePoint x="198" y="185"/><OutlinePoint x="198" y="245"/><OutlinePoint x="68" y="245"/><InEdgeId>12</InEdgeId><OutEdgeId>13</OutEdgeId><Properties><KeyValuePair Key="Prefill Version" String="-1"/><KeyValuePair Key="Name" String="CreateNewSchema"/><KeyValuePair Key="NewType" String="OD"/><KeyValuePair Key="Prefill" Boolean="false"/><KeyValuePair Key="Version" String="last"/></Properties><activityDef>CreateNewLocalObjectDef</activityDef></ActivitySlotDef><LoopDef ID="18" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false" isNext="0"><CentrePoint x="408" y="309"/><OutlinePoint x="378" y="297"/><OutlinePoint x="438" y="297"/><OutlinePoint x="438" y="321"/><OutlinePoint x="378" y="321"/><InEdgeId>21</InEdgeId><OutEdgeId>22</OutEdgeId><OutEdgeId>23</OutEdgeId><Properties><KeyValuePair Key="LastNum" String="2"/><KeyValuePair Key="RoutingScriptName" String="javascript:true;"/><KeyValuePair Key="RoutingScriptVersion" String=""/></Properties></LoopDef><JoinDef ID="17" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false"><CentrePoint x="408" y="94"/><OutlinePoint x="378" y="82"/><OutlinePoint x="438" y="82"/><OutlinePoint x="438" y="106"/><OutlinePoint x="378" y="106"/><InEdgeId>19</InEdgeId><InEdgeId>23</InEdgeId><OutEdgeId>20</OutEdgeId><Properties><KeyValuePair Key="Type" String="Join"/></Properties></JoinDef><NextDef ID="23" OriginVertexId="18" TerminusVertexId="17"><OriginPoint x="408" y="309"/><TerminusPoint x="408" y="94"/><Properties><KeyValuePair Key="Alias" String="true"/></Properties></NextDef><NextDef ID="22" OriginVertexId="18" TerminusVertexId="6"><OriginPoint x="408" y="309"/><TerminusPoint x="334" y="402"/><Properties><KeyValuePair Key="Alias" String="false"/></Properties></NextDef><NextDef ID="19" OriginVertexId="15" TerminusVertexId="17"><OriginPoint x="337" y="32"/><TerminusPoint x="408" y="94"/><Properties/></NextDef><NextDef ID="21" OriginVertexId="14" TerminusVertexId="18"><OriginPoint x="512" y="219"/><TerminusPoint x="408" y="309"/><Properties/></NextDef><NextDef ID="9" OriginVertexId="3" TerminusVertexId="6"><OriginPoint x="251" y="307"/><TerminusPoint x="334" y="402"/><Properties><KeyValuePair Key="Alias" String="false"/><KeyValuePair Key="Type" String="Straight"/></Properties></NextDef><NextDef ID="20" OriginVertexId="17" TerminusVertexId="14"><OriginPoint x="408" y="94"/><TerminusPoint x="512" y="219"/><Properties/></NextDef><NextDef ID="7" OriginVertexId="3" TerminusVertexId="5"><OriginPoint x="251" y="307"/><TerminusPoint x="251" y="95"/><Properties><KeyValuePair Key="Alias" String="true"/><KeyValuePair Key="Type" String="Straight"/></Properties></NextDef><NextDef ID="16" OriginVertexId="15" TerminusVertexId="5"><OriginPoint x="337" y="32"/><TerminusPoint x="251" y="95"/><Properties/></NextDef><NextDef ID="13" OriginVertexId="10" TerminusVertexId="3"><OriginPoint x="133" y="215"/><TerminusPoint x="251" y="307"/><Properties><KeyValuePair Key="Type" String="Straight"/></Properties></NextDef><NextDef ID="12" OriginVertexId="5" TerminusVertexId="10"><OriginPoint x="251" y="95"/><TerminusPoint x="133" y="215"/><Properties><KeyValuePair Key="Type" String="Straight"/></Properties></NextDef></GraphModelCastorData></childrenGraphModel><Properties><KeyValuePair Key="Description" String=""/><KeyValuePair Key="Ignorable" Boolean="false"/><KeyValuePair Key="ScriptVersion" String=""/><KeyValuePair Key="Mail Message" String=""/><KeyValuePair Key="Viewpoint" String=""/><KeyValuePair Key="Agent Name" String=""/><KeyValuePair Key="Skippable" Boolean="false"/><KeyValuePair Key="SchemaVersion" String=""/><KeyValuePair Key="ScriptName" String=""/><KeyValuePair Key="Mail event" String=""/><KeyValuePair Key="Breakpoint" Boolean="false"/><KeyValuePair Key="Autostart" Boolean="true"/><KeyValuePair Key="Repeatable" Boolean="false"/><KeyValuePair Key="Show time" Boolean="true"/><KeyValuePair Key="Agent Role" String=""/><KeyValuePair Key="SchemaType" String=""/></Properties></CompositeActivityDef> \ No newline at end of file
+<CompositeActivityDef ID="-1" Name="SchemaFactoryWf"
+ Height="0" Width="0" IsLayoutable="false" IsComposite="true">
+ <childrenGraphModel>
+ <GraphModelCastorData StartVertexId="15" NextId="24">
+ <JoinDef ID="6" Name="" Height="24" Width="60" IsLayoutable="true"
+ IsComposite="false">
+ <CentrePoint x="334" y="402" />
+ <OutlinePoint x="304" y="390" />
+ <OutlinePoint x="364" y="390" />
+ <OutlinePoint x="364" y="414" />
+ <OutlinePoint x="304" y="414" />
+ <InEdgeId>9</InEdgeId>
+ <InEdgeId>22</InEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join" />
+ </Properties>
+ </JoinDef>
+ <AndSplitDef ID="15" Name="" Height="24" Width="60"
+ IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="337" y="32" />
+ <OutlinePoint x="307" y="20" />
+ <OutlinePoint x="367" y="20" />
+ <OutlinePoint x="367" y="44" />
+ <OutlinePoint x="307" y="44" />
+ <OutEdgeId>16</OutEdgeId>
+ <OutEdgeId>19</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="RoutingScriptName" String="" />
+ </Properties>
+ </AndSplitDef>
+ <JoinDef ID="5" Name="" Height="24" Width="60" IsLayoutable="true"
+ IsComposite="false">
+ <CentrePoint x="251" y="95" />
+ <OutlinePoint x="221" y="83" />
+ <OutlinePoint x="281" y="83" />
+ <OutlinePoint x="281" y="107" />
+ <OutlinePoint x="221" y="107" />
+ <InEdgeId>7</InEdgeId>
+ <InEdgeId>16</InEdgeId>
+ <OutEdgeId>12</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join" />
+ </Properties>
+ </JoinDef>
+ <ActivitySlotDef ID="14" Name="EditSchema slot"
+ Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="512" y="219" />
+ <OutlinePoint x="447" y="189" />
+ <OutlinePoint x="577" y="189" />
+ <OutlinePoint x="577" y="249" />
+ <OutlinePoint x="447" y="249" />
+ <InEdgeId>20</InEdgeId>
+ <OutEdgeId>21</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Name" String="EditEmptySchema" />
+ <KeyValuePair Key="Version" Integer="0" />
+ </Properties>
+ <activityDef>EditSchema</activityDef>
+ </ActivitySlotDef>
+ <LoopDef ID="3" Name="" Height="24" Width="60" IsLayoutable="true"
+ IsComposite="false" isNext="0">
+ <CentrePoint x="251" y="307" />
+ <OutlinePoint x="221" y="295" />
+ <OutlinePoint x="281" y="295" />
+ <OutlinePoint x="281" y="319" />
+ <OutlinePoint x="221" y="319" />
+ <InEdgeId>13</InEdgeId>
+ <OutEdgeId>7</OutEdgeId>
+ <OutEdgeId>9</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="2" />
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;" />
+ </Properties>
+ </LoopDef>
+ <ActivitySlotDef ID="10" Name="CreateNewLocalObjectDef_"
+ Height="60" Width="130" IsLayoutable="true" IsComposite="false">
+ <CentrePoint x="133" y="215" />
+ <OutlinePoint x="68" y="185" />
+ <OutlinePoint x="198" y="185" />
+ <OutlinePoint x="198" y="245" />
+ <OutlinePoint x="68" y="245" />
+ <InEdgeId>12</InEdgeId>
+ <OutEdgeId>13</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Name" String="CreateNewSchema" />
+ <KeyValuePair Key="NewType" String="OD" />
+ <KeyValuePair Key="Version" Integer="0" />
+ </Properties>
+ <activityDef>CreateNewLocalObjectDef</activityDef>
+ </ActivitySlotDef>
+ <LoopDef ID="18" Name="" Height="24" Width="60" IsLayoutable="true"
+ IsComposite="false" isNext="0">
+ <CentrePoint x="408" y="309" />
+ <OutlinePoint x="378" y="297" />
+ <OutlinePoint x="438" y="297" />
+ <OutlinePoint x="438" y="321" />
+ <OutlinePoint x="378" y="321" />
+ <InEdgeId>21</InEdgeId>
+ <OutEdgeId>22</OutEdgeId>
+ <OutEdgeId>23</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="LastNum" String="2" />
+ <KeyValuePair Key="RoutingScriptName" String="javascript:true;" />
+ </Properties>
+ </LoopDef>
+ <JoinDef ID="17" Name="" Height="24" Width="60" IsLayoutable="true"
+ IsComposite="false">
+ <CentrePoint x="408" y="94" />
+ <OutlinePoint x="378" y="82" />
+ <OutlinePoint x="438" y="82" />
+ <OutlinePoint x="438" y="106" />
+ <OutlinePoint x="378" y="106" />
+ <InEdgeId>19</InEdgeId>
+ <InEdgeId>23</InEdgeId>
+ <OutEdgeId>20</OutEdgeId>
+ <Properties>
+ <KeyValuePair Key="Type" String="Join" />
+ </Properties>
+ </JoinDef>
+ <NextDef ID="23" OriginVertexId="18" TerminusVertexId="17">
+ <OriginPoint x="408" y="309" />
+ <TerminusPoint x="408" y="94" />
+ <Properties>
+ <KeyValuePair Key="Alias" String="true" />
+ </Properties>
+ </NextDef>
+ <NextDef ID="22" OriginVertexId="18" TerminusVertexId="6">
+ <OriginPoint x="408" y="309" />
+ <TerminusPoint x="334" y="402" />
+ <Properties>
+ <KeyValuePair Key="Alias" String="false" />
+ </Properties>
+ </NextDef>
+ <NextDef ID="19" OriginVertexId="15" TerminusVertexId="17">
+ <OriginPoint x="337" y="32" />
+ <TerminusPoint x="408" y="94" />
+ <Properties />
+ </NextDef>
+ <NextDef ID="21" OriginVertexId="14" TerminusVertexId="18">
+ <OriginPoint x="512" y="219" />
+ <TerminusPoint x="408" y="309" />
+ <Properties />
+ </NextDef>
+ <NextDef ID="9" OriginVertexId="3" TerminusVertexId="6">
+ <OriginPoint x="251" y="307" />
+ <TerminusPoint x="334" y="402" />
+ <Properties>
+ <KeyValuePair Key="Alias" String="false" />
+ <KeyValuePair Key="Type" String="Straight" />
+ </Properties>
+ </NextDef>
+ <NextDef ID="20" OriginVertexId="17" TerminusVertexId="14">
+ <OriginPoint x="408" y="94" />
+ <TerminusPoint x="512" y="219" />
+ <Properties />
+ </NextDef>
+ <NextDef ID="7" OriginVertexId="3" TerminusVertexId="5">
+ <OriginPoint x="251" y="307" />
+ <TerminusPoint x="251" y="95" />
+ <Properties>
+ <KeyValuePair Key="Alias" String="true" />
+ <KeyValuePair Key="Type" String="Straight" />
+ </Properties>
+ </NextDef>
+ <NextDef ID="16" OriginVertexId="15" TerminusVertexId="5">
+ <OriginPoint x="337" y="32" />
+ <TerminusPoint x="251" y="95" />
+ <Properties />
+ </NextDef>
+ <NextDef ID="13" OriginVertexId="10" TerminusVertexId="3">
+ <OriginPoint x="133" y="215" />
+ <TerminusPoint x="251" y="307" />
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight" />
+ </Properties>
+ </NextDef>
+ <NextDef ID="12" OriginVertexId="5" TerminusVertexId="10">
+ <OriginPoint x="251" y="95" />
+ <TerminusPoint x="133" y="215" />
+ <Properties>
+ <KeyValuePair Key="Type" String="Straight" />
+ </Properties>
+ </NextDef>
+ </GraphModelCastorData>
+ </childrenGraphModel>
+ <Properties>
+ <KeyValuePair Key="Description" String="" />
+ <KeyValuePair Key="Ignorable" Boolean="false" />
+ <KeyValuePair Key="ScriptVersion" String="" />
+ <KeyValuePair Key="Mail Message" String="" />
+ <KeyValuePair Key="Viewpoint" String="" />
+ <KeyValuePair Key="Agent Name" String="" />
+ <KeyValuePair Key="Skippable" Boolean="false" />
+ <KeyValuePair Key="SchemaVersion" String="" />
+ <KeyValuePair Key="ScriptName" String="" />
+ <KeyValuePair Key="Mail event" String="" />
+ <KeyValuePair Key="Breakpoint" Boolean="false" />
+ <KeyValuePair Key="Autostart" Boolean="true" />
+ <KeyValuePair Key="Repeatable" Boolean="false" />
+ <KeyValuePair Key="Show time" Boolean="true" />
+ <KeyValuePair Key="Agent Role" String="" />
+ <KeyValuePair Key="SchemaType" String="" />
+ </Properties>
+</CompositeActivityDef> \ No newline at end of file
diff --git a/src/main/resources/boot/CA/ScriptFactoryWf.xml b/src/main/resources/boot/CA/ScriptFactoryWf.xml
index 20a0715..d5a02cc 100644
--- a/src/main/resources/boot/CA/ScriptFactoryWf.xml
+++ b/src/main/resources/boot/CA/ScriptFactoryWf.xml
@@ -36,7 +36,6 @@
<OutEdgeId>20</OutEdgeId>
<Properties>
<KeyValuePair Key="RoutingScriptName" String=""/>
- <KeyValuePair Key="RoutingScriptVersion" String=""/>
</Properties>
</AndSplitDef>
<JoinDef ID="5" Name="" Height="24" Width="60" IsLayoutable="true" IsComposite="false">
@@ -64,7 +63,6 @@
<Properties>
<KeyValuePair Key="LastNum" String="2"/>
<KeyValuePair Key="RoutingScriptName" String="javascript:true;"/>
- <KeyValuePair Key="RoutingScriptVersion" String=""/>
</Properties>
</LoopDef>
<ActivitySlotDef ID="10" Name="CreateNewLocalObjectDef_" Height="60" Width="130" IsLayoutable="true" IsComposite="false">
@@ -80,7 +78,7 @@
<KeyValuePair Key="Name" String="CreateNewScript"/>
<KeyValuePair Key="NewType" String="SC"/>
<KeyValuePair Key="Prefill" Boolean="false"/>
- <KeyValuePair Key="Version" String="last"/>
+ <KeyValuePair Key="Version" Integer="0"/>
</Properties>
<activityDef>CreateNewLocalObjectDef</activityDef>
</ActivitySlotDef>
@@ -94,7 +92,7 @@
<OutEdgeId>22</OutEdgeId>
<Properties>
<KeyValuePair Key="Name" String="EditEmptyScript"/>
- <KeyValuePair Key="Version" String="last"/>
+ <KeyValuePair Key="Version" Integer="0"/>
</Properties>
<activityDef>EditScriptDefinition</activityDef>
</ActivitySlotDef>
diff --git a/src/main/resources/boot/SC/LocalObjectDefCreator.xml b/src/main/resources/boot/SC/LocalObjectDefCreator.xml
index 6ed88e6..e05ee9a 100644
--- a/src/main/resources/boot/SC/LocalObjectDefCreator.xml
+++ b/src/main/resources/boot/SC/LocalObjectDefCreator.xml
@@ -7,7 +7,6 @@
importClass(Packages.com.c2kernel.process.Bootstrap);
importClass(Packages.com.c2kernel.lifecycle.CompositeActivityDef);
importClass(Packages.com.c2kernel.lifecycle.ActivityDef);
- importClass(Packages.com.c2kernel.lifecycle.instance.stateMachine.Transitions);
var type = job.getActPropString("NewType");
var name = job.getOutcome().getField("ObjectName");
@@ -44,7 +43,7 @@
// Store the new object with the 'EditDefinition' activity
var newPath = new Packages.com.c2kernel.lookup.DomainPath(domPath+"/"+name);
var newItem = agent.getItem(newPath);
- newItem.requestAction(agent.getSystemKey(), "workflow/domain/EditDefinition", Transitions.DONE, newObj);
+ newItem.requestAction(agent.getSystemKey(), "workflow/domain/EditDefinition", 0, newObj);
// If this script is running in the Cristal GUI, open the new item.
try {