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
  • 1.  How to set graph or composite parameters in nodes at run time?

    Employee
    Posted 09-27-2015 17:46

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

    Originally posted by: snbkumar

    Hi Team,

    Please can you help me set the value of a graph/composite parameter at run time?

    Eg: I wish to do something like below where I check the current year and set a parameter accordingly. How do I achieve this?

    ParameterName = xField
    ParameterValue = xValue

    Filter Node Script:
    if date().year() == 2015 then
    {
    {{^xField^}} = "Sandbox"
    }
    else
    {
    {{^xField^}} = "Prod"
    }


  • 2.  RE: How to set graph or composite parameters in nodes at run time?

    Employee
    Posted 10-14-2015 18:26

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

    Originally posted by: ryeh

    You can't dynamically set graph parameters, but you could create a composite and set a parameter equal to a field on the input. Does this work for you?
    Attachments:
    Params.brg


  • 3.  RE: How to set graph or composite parameters in nodes at run time?

    Employee
    Posted 11-17-2015 10:10

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

    Originally posted by: kovaden

    Hi Ryeh,
    If i understand correctly this feature is only available for Filter node, because when i'm trying to use this parameter in DB Query node it fails.


  • 4.  RE: How to set graph or composite parameters in nodes at run time?

    Employee
    Posted 11-17-2015 13:37

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

    Originally posted by: ryeh

    Ah, I see. Does the attached help you?
    Attachments:
    Params1.brg