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

Passing Parameters into Job Executor

$
0
0
Hi all,
I'm back to having some issues passing parameters between my job and transformations and could use some help.

It's happening in my clean_and_execute_run_time_schema_list transformation (TR03)
  • I want to pass two parameters from my executed query (name, id) to a job executor.
  • I configure the job executor to take my two fields from above and map them to two parameter names it is asking for (schema_name, schema_id)
    • I've tried both checking and unchecking inherit all variables from the transformation btw with no difference.

  • Inside of that job (select_run_time_schema_job) I specify the same two parameters (schema_name, schema_id) in the job properties
  • I then try and send those two parameters to a transformation (TR04) select_run_time_table_read
    • I map the parameters here two the local names I want to use int he transformation
      • schema_id -> run_time_id
      • schema_name -> run_time_schema

    • I've checked and unchecked transformation properties for copy previous results to parameters as well as execute for every row (though there should only be one). These didn't help

  • The first step in this transformation is a query which uses the parameters identified.



When I set a default value in that lowest transformation (TR04) it'll work fine, but no so when I try to feed it in from the job executing it.
I can't figure out why though.

I've attached my jobs and transformations. hcp_anywhere_report_queries_main_job is the topmost level.
Attached Files

Viewing all articles
Browse latest Browse all 16689

Trending Articles



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