From 5400312250ddc5eb3b8c6af2272eb7e60624a7a2 Mon Sep 17 00:00:00 2001 From: Andrew Branson Date: Mon, 18 Nov 2013 09:55:20 +0100 Subject: 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) --- src/main/resources/boot/SC/LocalObjectDefCreator.xml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/main/resources/boot/SC/LocalObjectDefCreator.xml') 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 { -- cgit v1.2.3