Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: dsc88dsc88Hi Dave,
The below is a bit clunky but should meet your needs.
If you configure a run parameter in the graph called "StaticDataMode", and then populate this with either "Y" or "N", then the following will decide whether to run the Static Data node.
- - - - - - - - copy all text below this line into your graph - - - - - - - -
node:Dummy_Input
bretype:core::Dummy Input
editor:sortkey=537c5ee1220031d4
output:@40fd2c7452fa204a/=
prop:Header=A
prop:NumberOfRecords=1
editor:XY=190,180
end:Dummy_Input
node:Ascertain_whether_to_run_static
bretype:core::Filter
editor:Label=Ascertain whether to run static
editor:sortkey=537c5eeb2e612d8d
input:@40fd2c74167f1ca2/=Dummy_Input.40fd2c7452fa204a
output:@40fd2c7420761db6/=
prop:Script=<<EOX
valueToRunStatic = "Y"
emit *
where valueToRunStatic == "{{^StaticDataMode^}}"
EOX
editor:XY=270,180
end:Ascertain_whether_to_run_static
node:Decide_whether_to_run_static
bretype:core::Meta Check
editor:Label=Decide whether to run static
editor:sortkey=537c5f3726be177b
input:@43c285fc347d19f2/=Ascertain_whether_to_run_static.40fd2c7420761db6
prop:MinimumRecordCount=1
prop:SuccessAction=Clock
prop:TerminusAction=Output
editor:XY=350,180
end:Decide_whether_to_run_static
node:Static_Data
bretype:core::Static Data
editor:sortkey=537c5f4d0f07723b
output:@40fe6c55598828e5/=
inclock:/=Decide_whether_to_run_static
editor:XY=450,180
end:Static_Data