Quantcast
Channel: Pentaho Community Forums
Viewing all articles
Browse latest Browse all 16689

Change named parameter value

$
0
0
I need to change my named parameter during the execution, how to do this?

At the moment I have a named parameter with default value, say

my_named_parameter = 300

and I use it in a table input step:

SELECT * FROM MyTable WHERE id < ${my_named_parameter}


What about doing this:

1 - read an excel file with a single column
2 - check the maximum value in that column, say my_new_value
3 - replace it in the named parameter
4 - so that table input step remain the same but I have a dynamic value every time I execute the transformation

No problem with 1, 2 and 4 step..
But the third one??
How to say: ${my_named_parameter} = my_new_value ? :confused:

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>