LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only

Global Parameters for Jetty?

  • 1.  Global Parameters for Jetty?

    Employee
    Posted 11-05-2014 07:16

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Leaner

    Hello

    Where can I set global parameters for a graph when it will be executed by the Jetty server?

    Why?
    Well, I'm not sure where {{^OutputDirectory^}} is set globally (or set my own). I've been reading that some parameters do not work when a BRD file is executed by the Jetty server if they are set on the BRD graph. At the end of the day, I need to run a graph on a weekly basis that attaches an Excel file to an email and sends it.

    Lastly, I am assuming the directory can be set to the <LAE Linux Install Directory>/tmp

    Thanks!


  • 2.  RE: Global Parameters for Jetty?

    Employee
    Posted 11-05-2014 08:23

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Leaner

    I think I just found it by accident... http://<LAEserver>:8080/automation then 'Set Parameters'

    Is this correct?

    Thanks


  • 3.  RE: Global Parameters for Jetty?

    Employee
    Posted 11-05-2014 08:49

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ryeh

    You are correct. You can access the Logistics Manager using the URL you specified. Under the "Parameter Sets" tab, you can set any parameters you defined as Run Parameters in your graph. When you define a run, choose the parameter set you want to use. You can further over-ride those parameters by defining parameters specific to the run on the next screen.

    Untitled-1.jpg


  • 4.  RE: Global Parameters for Jetty?

    Employee
    Posted 11-05-2014 09:38

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Leaner

    Thanks Ryeh,

    Is there a list somewhere of all the exists parameters?

    i.e. {{^CurrentDate^}} where can I find these?

    Thanks


  • 5.  RE: Global Parameters for Jetty?

    Employee
    Posted 11-05-2014 14:04

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ryeh

    So any "run parameters" you have defined in your graph can be set. You can find this list from the menu: Graph > Edit Parameters > Run Parameters tab.

    Untitled-1.png

    There are some reserved run parameters like the one you mentioned. Those are:
    RunDate
    CurrentTime
    CurrendDate
    CurrentDateTime

    In LAE 5.0, these parameters could NOT be overwritten. So if you set a RunDate parameter in your parameter set, it would be replaced with the RunDate that the logistics manager sets. In LAE 5.1, these parameters can be overwritten.

    FYI, there's a PDF in the installation directory:
    C:\Program Files (x86)\Lavastorm\LAE5.0\docs
    C:\Program Files (x86)\Lavastorm\LAE5.1\docs


  • 6.  RE: Global Parameters for Jetty?

    Employee
    Posted 12-05-2014 04:35

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Leaner

    Originally posted by: ryeh
    					

    So any "run parameters" you have defined in your graph can be set. You can find this list from the menu: Graph > Edit Parameters > Run Parameters tab.

    Untitled-1.png

    There are some reserved run parameters like the one you mentioned. Those are:
    RunDate
    CurrentTime
    CurrendDate
    CurrentDateTime

    In LAE 5.0, these parameters could NOT be overwritten. So if you set a RunDate parameter in your parameter set, it would be replaced with the RunDate that the logistics manager sets. In LAE 5.1, these parameters can be overwritten.

    FYI, there's a PDF in the installation directory:
    C:\Program Files (x86)\Lavastorm\LAE5.0\docs
    C:\Program Files (x86)\Lavastorm\LAE5.1\docs
    Awesome, thanks.


  • 7.  RE: Global Parameters for Jetty?

    Employee
    Posted 07-15-2015 05:52

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: mlowe

    With respect to these parameters, like RunDate, CurrentDate & CurrentTime, you mentioned that they are documented in the docs folder. I've had a quick look but either they are not very detailed on how to use them in a graph or I've potentially missed something, can you be more specific?

    Thanks


  • 8.  RE: Global Parameters for Jetty?

    Employee
    Posted 07-15-2015 18:50

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ryeh

    My apologies. I was referring to the 'Logistics Manager Quick Start Guide.pdf' in the docs directory, but you're right in that the reserved parameters aren't documented there. In regards to those four parameters, the RunDate is a string that specifies when the run starts. This is slightly different from the CurrentDate, CurrentTime, and CurrentDateTime, which specify when the actual graph(s), i.e. LXA's, ran. If you have multiple graphs within a run, you'll see differences in the CurrentDate/Time. CurrentDateTime is a bit redundant as it's just a concatenation of the CurrentDate and Current Time.

    Here's a screenshot of how it looks in the Logistics Manager:
    params.png


  • 9.  RE: Global Parameters for Jetty?

    Employee
    Posted 07-18-2015 02:33

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: mlowe

    Originally posted by: ryeh
    					

    My apologies. I was referring to the 'Logistics Manager Quick Start Guide.pdf' in the docs directory, but you're right in that the reserved parameters aren't documented there. In regards to those four parameters, the RunDate is a string that specifies when the run starts. This is slightly different from the CurrentDate, CurrentTime, and CurrentDateTime, which specify when the actual graph(s), i.e. LXA's, ran. If you have multiple graphs within a run, you'll see differences in the CurrentDate/Time. CurrentDateTime is a bit redundant as it's just a concatenation of the CurrentDate and Current Time.

    Here's a screenshot of how it looks in the Logistics Manager:
    params.png
    Thanks, I guess my last question is how can one go about referencing these values in a graph? I've had a few tries specifying them as either global params or run params and using the {{^RunDate^}} or {{*RunDate*}} notation, but no success. Is there a way these can be accessed in a deployed LXA and how would I reference them in the BRG?


  • 10.  RE: Global Parameters for Jetty?

    Employee
    Posted 07-18-2015 08:34

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ryeh

    What I do is define Run Parameters with the same name in the BRG. The BRG calls them with {{^RunDate^}}, {{^CurrentDate^}}, etc. As long as you don't define 'Run Parameters' with the same name(s) in the Logistics Manager, it will grab the built-in parameter values.


  • 11.  RE: Global Parameters for Jetty?

    Employee
    Posted 01-24-2016 20:23

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Buddha

    I have been using the Run Parameter {{^CurrentDate^}} quite a bit but for some reason I'm unable to use {{^CurrentDateTime^}} or {{^CurrentTime^}} Parameters. The node just errors out saying 'Parameter "CurrentDateTime" is not defined. (Called from "File")'. and when I check out the advise and instructions listed above I just get a greyed out/blank parameters window.
    (Running LAE 6.1)