Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: snbkumarHi 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"
}