Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: set variable in mapping

  1. #1

    Default set variable in mapping

    Has anyone seen this? (2.5.2 and 3.0.0RC2, tried both versions) - I have a job that calls a transformation that calls a mapping. When using set variable in a mapping - it gives an error "cant set variable [var_name] on root job: the root job is not available (meaning: not even the parent job)". But, when I use the same step in the transformation - no errors and the job runs fine.

    Any ideas?

  2. #2
    Join Date
    Nov 1999


    Congratulations! You're the first to come up with the idea of setting a variable in a mapping.
    I'm sure you'll be able to file a bug report as well as find the workaround ;-)

  3. #3


    The work around in my case is to use set variable step in the transformation instead of the mapping. Yes, I know its not the perfect solution!

  4. #4
    Join Date
    Nov 1999


    Thanks for creating the JIRA case!
    Those really help to keep track of the issues.


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.