I am having trouble here...

I have a simple workflow with START, CONDITION and FINISH activities.

The CONDITION activity has the Condition
Expression: IDVault.get(initiator , 'user', 'FirstName')=="UsesdfrApp"
that will be FALSE, and the result in the UserApp log shows that FALSE
is returned;

But I am getting an error: ReferenceError: "FALSE" is not defined.




Code:
--------------------
.14:23:14,011 INFO [STDOUT] INFO [RBPM] [com.novell.soa.af.impl.LogEvent:logAFEvent] [Workflow_Started] Initiated by cn=uaadmin,ou=users,ou=fnb,o=firstrand, Process ID: f7adbe0be8c34f10879bc501f55d1614, Process Name: cn=ApprovalModel,cn=RequestDefs,cn=AppConfig,cn=Us erApplication,cn=DriverSet,ou=services,ou=fnb,o=fi rstrand:33, Activity: Start, Recipient: cn=uaadmin,ou=users,ou=fnb,o=firstrand, Secondary User: null
14:23:14,058 INFO [STDOUT] 2435140 [pool-13-thread-8] INFO com.novell.soa.af.impl.LogEvent - [Workflow_Started] Initiated by cn=uaadmin,ou=users,ou=fnb,o=firstrand, Process ID: f7adbe0be8c34f10879bc501f55d1614, Process Name: cn=ApprovalModel,cn=RequestDefs,cn=AppConfig,cn=Us erApplication,cn=DriverSet,ou=services,ou=fnb,o=fi rstrand:33, Activity: Start, Recipient: cn=uaadmin,ou=users,ou=fnb,o=firstrand, Secondary User: null
14:23:14,126 INFO [STDOUT] INFO [RBPM] [com.novell.soa.af.impl.LogEvent:logAFEvent] [Workflow_Forwarded] Initiated by System, Process ID: f7adbe0be8c34f10879bc501f55d1614, Process Name: cn=ApprovalModel,cn=RequestDefs,cn=AppConfig,cn=Us erApplication,cn=DriverSet,ou=services,ou=fnb,o=fi rstrand:33, Activity: Start, Recipient: cn=uaadmin,ou=users,ou=fnb,o=firstrand
14:23:14,167 INFO [STDOUT] 2435258 [pool-13-thread-8] INFO com.novell.soa.af.impl.LogEvent - [Workflow_Forwarded] Initiated by System, Process ID: f7adbe0be8c34f10879bc501f55d1614, Process Name: cn=ApprovalModel,cn=RequestDefs,cn=AppConfig,cn=Us erApplication,cn=DriverSet,ou=services,ou=fnb,o=fi rstrand:33, Activity: Start, Recipient: cn=uaadmin,ou=users,ou=fnb,o=firstrand
14:23:14,215 INFO [STDOUT] INFO [RBPM] [com.novell.soa.af.impl.LogEvent:logAFEvent] [Workflow_Forwarded] Initiated by System, Process ID: f7adbe0be8c34f10879bc501f55d1614, Process Name: cn=ApprovalModel,cn=RequestDefs,cn=AppConfig,cn=Us erApplication,cn=DriverSet,ou=services,ou=fnb,o=fi rstrand:33, Activity: Activity, Recipient: cn=uaadmin,ou=users,ou=fnb,o=firstrand
14:23:14,255 INFO [STDOUT] 2435346 [pool-13-thread-8] INFO com.novell.soa.af.impl.LogEvent - [Workflow_Forwarded] Initiated by System, Process ID: f7adbe0be8c34f10879bc501f55d1614, Process Name: cn=ApprovalModel,cn=RequestDefs,cn=AppConfig,cn=Us erApplication,cn=DriverSet,ou=services,ou=fnb,o=fi rstrand:33, Activity: Activity, Recipient: cn=uaadmin,ou=users,ou=fnb,o=firstrand
14:23:14,263 INFO [STDOUT] ERROR [RBPM] [com.novell.soa.af.impl.activity.LogActivityrocess] Error initializing scripting engine or scripting context
com.novell.soa.af.DataItemException: Error initializing scripting engine or scripting context
at com.novell.soa.af.impl.core.DataItemEvaluator.eval uateToString(DataItemEvaluator.java:835)
at com.novell.soa.af.impl.activity.LogActivity.proces s(LogActivity.java:89)
at com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:200)
at com.novell.soa.af.impl.core.ProcessImpl.startActiv ity(ProcessImpl.java:1664)
at com.novell.soa.af.impl.core.ProcessImpl.forward(Pr ocessImpl.java:1554)
at com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:259)
at com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:234)
at com.novell.soa.af.impl.activity.ConditionActivity. process(ConditionActivity.java:82)
at com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:200)
at com.novell.soa.af.impl.core.ProcessImpl.startActiv ity(ProcessImpl.java:1664)
at com.novell.soa.af.impl.core.ProcessImpl.forward(Pr ocessImpl.java:1554)
at com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:259)
at com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:234)
at com.novell.soa.af.impl.activity.StartActivity.proc ess(StartActivity.java:82)
at com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:200)
at com.novell.soa.af.impl.activity.RunnableActivity.r un(RunnableActivity.java:50)
at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.novell.soa.script.ScriptException: Error Evaluating Script Error Evaluating Script com.novell.soa.script.mozilla.javascript.EcmaError : ReferenceError: "FALSE" is not defined.
at com.novell.soa.script.impl.lang.es.impl.EcmaScript Engine.evalToString(EcmaScriptEngine.java:536)
at com.novell.soa.af.impl.core.DataItemEvaluator.eval uateToString(DataItemEvaluator.java:828)
... 18 more
Caused by: com.novell.soa.script.ScriptException: Error Evaluating Script com.novell.soa.script.mozilla.javascript.EcmaError : ReferenceError: "FALSE" is not defined.
at com.novell.soa.script.impl.lang.es.impl.EcmaScript Engine.executeExpression(EcmaScriptEngine.java:650 )
at com.novell.soa.script.impl.lang.es.impl.EcmaScript Engine.evalToString(EcmaScriptEngine.java:524)
... 19 more
Caused by: com.novell.soa.script.mozilla.javascript.EcmaError : ReferenceError: "FALSE" is not defined.
at com.novell.soa.script.mozilla.javascript.ScriptRun time.constructError(Unknown Source)
at com.novell.soa.script.mozilla.javascript.ScriptRun time.constructError(Unknown Source)
at com.novell.soa.script.mozilla.javascript.ScriptRun time.notFoundError(Unknown Source)
at com.novell.soa.script.mozilla.javascript.ScriptRun time.name(Unknown Source)
at com.novell.soa.script.mozilla.javascript.ScriptRun time.name(Unknown Source)
at com.novell.soa.script.mozilla.javascript.Interpret er.interpret(Unknown Source)
at com.novell.soa.script.mozilla.javascript.Interpret edFunction.call(Unknown Source)
at com.novell.soa.script.mozilla.javascript.ScriptRun time.doTopCall(Unknown Source)
at com.novell.soa.script.mozilla.javascript.Interpret edFunction.call(Unknown Source)
at com.novell.soa.script.mozilla.javascript.Interpret edFunction.exec(Unknown Source)
at com.novell.soa.script.impl.lang.es.impl.EcmaScript Engine.executeExpression(EcmaScriptEngine.java:641 )
... 20 more
14:23:14,264 INFO [STDOUT] 2435394 [pool-13-thread-8] ERROR com.novell.soa.af.impl.activity.LogActivity - Error initializing scripting engine or scripting context
com.novell.soa.af.DataItemException: Error initializing scripting engine or scripting context
at com.novell.soa.af.impl.core.DataItemEvaluator.eval uateToString(DataItemEvaluator.java:835)
at com.novell.soa.af.impl.activity.LogActivity.proces s(LogActivity.java:89)
at com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:200)
at com.novell.soa.af.impl.core.ProcessImpl.startActiv ity(ProcessImpl.java:1664)
at com.novell.soa.af.impl.core.ProcessImpl.forward(Pr ocessImpl.java:1554)
at com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:259)
at com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:234)
at com.novell.soa.af.impl.activity.ConditionActivity. process(ConditionActivity.java:82)
at com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:200)
at com.novell.soa.af.impl.core.ProcessImpl.startActiv ity(ProcessImpl.java:1664)
at com.novell.soa.af.impl.core.ProcessImpl.forward(Pr ocessImpl.java:1554)
at com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:259)
at com.novell.soa.af.impl.activity.ActivityNode.forwa rd(ActivityNode.java:234)
at com.novell.soa.af.impl.activity.StartActivity.proc ess(StartActivity.java:82)
at com.novell.soa.af.impl.activity.ActivityNode.notif yArrive(ActivityNode.java:200)
at com.novell.soa.af.impl.activity.RunnableActivity.r un(RunnableActivity.java:50)
at java.util.concurrent.ThreadPoolExecutor$Worker.run Task(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: com.novell.soa.script.ScriptException: Error Evaluating Script Error Evaluating Script com.novell.soa.script.mozilla.javascript.EcmaError : ReferenceError: "FALSE" is not defined.
at com.novell.soa.script.impl.lang.es.impl.EcmaScript Engine.evalToString(EcmaScriptEngine.java:536)
at com.novell.soa.af.impl.core.DataItemEvaluator.eval uateToString(DataItemEvaluator.java:828)
... 18 more
Caused by: com.novell.soa.script.ScriptException: Error Evaluating Script com.novell.soa.script.mozilla.javascript.EcmaError : ReferenceError: "FALSE" is not defined.
at com.novell.soa.script.impl.lang.es.impl.EcmaScript Engine.executeExpression(EcmaScriptEngine.java:650 )
at com.novell.soa.script.impl.lang.es.impl.EcmaScript Engine.evalToString(EcmaScriptEngine.java:524)
... 19 more
Caused by: com.novell.soa.script.mozilla.javascript.EcmaError : ReferenceError: "FALSE" is not defined.
at com.novell.soa.script.mozilla.javascript.ScriptRun time.constructError(Unknown Source)
at com.novell.soa.script.mozilla.javascript.ScriptRun time.constructError(Unknown Source)
at com.novell.soa.script.mozilla.javascript.ScriptRun time.notFoundError(Unknown Source)
at com.novell.soa.script.mozilla.javascript.ScriptRun time.name(Unknown Source)
at com.novell.soa.script.mozilla.javascript.ScriptRun time.name(Unknown Source)
at com.novell.soa.script.mozilla.javascript.Interpret er.interpret(Unknown Source)
at com.novell.soa.script.mozilla.javascript.Interpret edFunction.call(Unknown Source)
at com.novell.soa.script.mozilla.javascript.ScriptRun time.doTopCall(Unknown Source)
at com.novell.soa.script.mozilla.javascript.Interpret edFunction.call(Unknown Source)
at com.novell.soa.script.mozilla.javascript.Interpret edFunction.exec(Unknown Source)
at com.novell.soa.script.impl.lang.es.impl.EcmaScript Engine.executeExpression(EcmaScriptEngine.java:641 )
... 20 more
14:23:14,264 INFO [STDOUT] INFO [RBPM] [com.novell.soa.af.impl.activity.LogActivityrocess] [User_Message] Initiated by cn=uaadmin,ou=users,ou=fnb,o=firstrand, Process ID: f7adbe0be8c34f10879bc501f55d1614, Process Name: cn=ApprovalModel,cn=RequestDefs,cn=AppConfig,cn=Us erApplication,cn=DriverSet,ou=services,ou=fnb,o=fi rstrand:33, Activity: Activity3, Recipient: cn=uaadmin,ou=users,ou=fnb,o=firstrand, Author: {Enter author name here}, Message:
14:23:14,303 INFO [STDOUT] 2435396 [pool-13-thread-8] INFO com.novell.soa.af.impl.activity.LogActivity - [User_Message] Initiated by cn=uaadmin,ou=users,ou=fnb,o=firstrand, Process ID: f7adbe0be8c34f10879bc501f55d1614, Process Name: cn=ApprovalModel,cn=RequestDefs,cn=AppConfig,cn=Us erApplication,cn=DriverSet,ou=services,ou=fnb,o=fi rstrand:33, Activity: Activity3, Recipient: cn=uaadmin,ou=users,ou=fnb,o=firstrand, Author: {Enter author name here}, Message:
14:23:14,306 INFO [STDOUT] ERROR [RBPM] [com.novell.soa.af.impl.LogEvent:logError] [Workflow_Error] Initiated by cn=uaadmin,ou=users,ou=fnb,o=firstrand, Error Message: Error initializing scripting engine or scripting context, Process ID: f7adbe0be8c34f10879bc501f55d1614, Process Name: cn=ApprovalModel,cn=RequestDefs,cn=AppConfig,cn=Us erApplication,cn=DriverSet,ou=services,ou=fnb,o=fi rstrand:33, Activity: Activity3, Recipient: cn=uaadmin,ou=users,ou=fnb,o=firstrand
14:23:14,347 INFO [STDOUT] 2435437 [pool-13-thread-8] ERROR com.novell.soa.af.impl.LogEvent - [Workflow_Error] Initiated by cn=uaadmin,ou=users,ou=fnb,o=firstrand, Error Message: Error initializing scripting engine or scripting context, Process ID: f7adbe0be8c34f10879bc501f55d1614, Process Name: cn=ApprovalModel,cn=RequestDefs,cn=AppConfig,cn=Us erApplication,cn=DriverSet,ou=services,ou=fnb,o=fi rstrand:33, Activity: Activity3, Recipient: cn=uaadmin,ou=users,ou=fnb,o=firstrand
--------------------


--
ccikara
------------------------------------------------------------------------
ccikara's Profile: http://forums.novell.com/member.php?userid=86966
View this thread: http://forums.novell.com/showthread.php?t=452824