Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Set global variable

  1. #1
    Join Date
    Oct 2008
    Posts
    17

    Default Set global variable

    Hello,
    I read some posts and the wiki, but I'm not be able to resolve my problem.
    I want to create a job with two transformations T1 and T2.
    If during job execution I have some condition, I want activate a switch and at the end of my execution sent an email to user.

    Thins my flow:
    1. SW_EMAIL = FALSE
    2. Run T1
    3. Run T2
    4. If SW_EMAIL = FALSE then
    END JOB
    else
    Send EMAIL

    How can I do this?

    Many thanks.
    Francesco

    Kettle - Spoon 4.1.0

  2. #2
    Join Date
    Jun 2012
    Posts
    5,534

    Default

    Did you notice job entry "Simple evaluation"?
    It should be useful in your scenario.
    So long, and thanks for all the fish.

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.