Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Current date as Job variable?

  1. #1
    Join Date
    May 2007
    Posts
    24

    Question Current date as Job variable?

    Hi everyone,

    I need to capture the current date (in whatever format, but preferably "yyyy-MM-dd") and have it available as a variable in a Job.

    I see that this is doable in a Transformation using the Get System Info, but I do not see a counterpart for a job. How to proceed?

    Best regards,
    Kasper

  2. #2
    Join Date
    Apr 2007
    Posts
    2,010

    Default

    just use a transform, and all it does is a get system info -> set variables, make sure you set the scope correctly of the variable and away you go..

  3. #3
    Join Date
    May 2007
    Posts
    24

    Default

    Aha, thanks.
    Ended up actually not using Get System Info, but use an expression instead since that way I could build the date format like I wanted it.

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.