Hitachi Vantara Pentaho Community Forums
Results 1 to 5 of 5

Thread: MQL not processing input param {}

  1. #1
    Join Date
    Jan 2007

    Default MQL not processing input param {}

    We are now planning on using metadata so that more users can use Pentaho. But I find that the MQL Relational Data Component does not processing Input parameters {} even {PREPARE} or PREPARELATER}

    SQL works fine but when you use MQL it just returns whatever you set as default value.

    And also in using Design Studio, Is there a way to set an input param w/o a default value so it will be forced on the prompt/secure filter? I think I have managed to make it work that way once but couldn't do it again.

    I need to make this work by today or else we will go back in using SQL. any help asap would be greatly appreciated.


  2. #2
    Join Date
    Jan 2007


    hello, very busy here i see...hehe. (just kidding)

    so, has anyone made a working replaceable parameter on a MQL query?

  3. #3
    Join Date
    Jan 2006

    Default solution found?

    I am facing the same problem.

    Dit you manage to find a solution or did you return to SQL?

  4. #4
    Join Date
    Aug 2007

    Default MQL not processing input param

    I and a potential subscriber who brought it to my attention are having the same problem. Tested on a very simple filter several times. Only the default value of the prompt works for {InputParamName}.

    Below is my .xaction file from Pentaho Design Studio. If I type in a known valid ProductCode into the box prompt, it still returns the default value.

    <?xml version="1.0" encoding="UTF-8"?>




    <description>Empty blank action sequence document</description>







    <action-type>Prompt/Secure Filter</action-type>





































    <condition>[CAT_PRODUCTS.BC_PRODUCTS_PRODUCTCODE] ="{ProductCode}"</condition>





    <action-type>Pentaho Report</action-type>







  5. #5
    Join Date
    Mar 2008



    I'm having the same problem. It seems that the MQL query is built at the init of the .xaction, instead of at the init of the MQL step, so when user is prompted for the params, the MQL query is already built with the param initial values.

    The way I've found to solve this problem is using another .xaction, that prompts for parameters and uses a "Pentaho BI Process" action to call the main .xaction with the user parameters.

    I know it´s not a smart solution, but at least it works.

    Good luck

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.