PDA

View Full Version : action definition for javascriptrule did not execute



DANAz
12-08-2008, 12:00 PM
I have created an xaction that passes in a date paraementer. When I try to run the xaction I the following error. I attached a copy of the xaction. I can not see why this is not working. Can anyone see what I am missing.
Failed Error: JSRULE.ERROR_0003 - Javascript rule execution failed - org.mozilla.javascript.EcmaError: ReferenceError: "Create_Date_Prompt" is not defined. (#1) (org.pentaho.plugin.javascript.JavascriptRule) Debug: Starting execute of Hurd/Order Management/Open_orders_by_date_report.xaction (org.pentaho.core.solution.SolutionEngine)
Debug: Getting runtime context and data (org.pentaho.core.solution.SolutionEngine)
Debug: Loading action sequence definition file (org.pentaho.core.solution.SolutionEngine)
Debug: Adding variable source runtime to parameter Create_Date_Parm (com.pentaho.repository.dbbased.solution.SolutionRepository)
Debug: Adding default value of "" to parameter Create_Date_Parm (com.pentaho.repository.dbbased.solution.SolutionRepository)
Debug: Adding variable source runtime to parameter attach_name (com.pentaho.repository.dbbased.solution.SolutionRepository)
Debug: Adding default value of "Open_Order_Report" to parameter attach_name (com.pentaho.repository.dbbased.solution.SolutionRepository)
Debug: Adding variable source runtime to parameter report_output (com.pentaho.repository.dbbased.solution.SolutionRepository)
Debug: Adding variable source request to parameter Create_Date_Prompt (com.pentaho.repository.dbbased.solution.SolutionRepository)
Debug: Adding default value of "" to parameter Create_Date_Prompt (com.pentaho.repository.dbbased.solution.SolutionRepository)
Debug: audit: instanceId=a3f20fce-c548-11dd-bd6e-47b0014eee30, objectId=org.pentaho.core.runtime.RuntimeContext, messageType=action_sequence_start (org.pentaho.core.runtime.RuntimeContext)
Error: JSRULE.ERROR_0003 - Javascript rule execution failed - org.mozilla.javascript.EcmaError: ReferenceError: "Create_Date_Prompt" is not defined. (#1) (org.pentaho.plugin.javascript.JavascriptRule)
Error: RuntimeContext.ERROR_0012 - ActionDefinition for JavascriptRule did not execute successfully (org.pentaho.core.runtime.RuntimeContext)
Error: SolutionEngine.ERROR_0007 - Action sequence execution failed (org.pentaho.core.solution.SolutionEngine)


Server Version: Pentaho BI Platform 1.6.0.GA.863