I am creating a process using the Fluent API
I am using A START > LOG > USER TASK > END
I have in the process the following:
.workItemNode(14)
.workName("Log")
.inMapping("index", "index")
.inMapping("user", "user")
.outMapping("index", "index")
.outMapping("createUser", "createUser")
.outMapping("user", "user")
.done();
Once running it I have the following exception in the JBUILDER
Exception in thread "main" java.lang.ClassCastException:
org.drools.workflow.core.node.ActionNode cannot be cast to
org.drools.workflow.core.node.WorkItemNode
at
org.drools.ruleflow.core.factory.WorkItemNodeFactory.getWorkItemNode(WorkItemNodeFactory.java:52)
at
org.drools.ruleflow.core.factory.WorkItemNodeFactory.workName(WorkItemNodeFactory.java:76)
at sample.CreateProcess.createProcess1(CreateProcess.java:236)
at sample.CreateProcess.main(CreateProcess.java:31)
can anyone provide support??
--
View this message in context:
http://old.nabble.com/Class-Cast-Exception-tp26573238p26573238.html
Sent from the drools - user mailing list archive at
Nabble.com.