summaryrefslogtreecommitdiff
path: root/src/main/resources/boot/SC/LocalObjectDefCreator.xml
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/SC/LocalObjectDefCreator.xml
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/SC/LocalObjectDefCreator.xml')
-rw-r--r--src/main/resources/boot/SC/LocalObjectDefCreator.xml3
1 files changed, 1 insertions, 2 deletions
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 {