Runtime Environment
2 nodes
On this page 2
Program Arguments
FunctionEquivalent to "Get" and "Set".
Signature
ProgramArguments() -> Text Array
string[] ProgramArguments()
Returns
| result | Text Array |
Remarks
Usually directly set by the environment - and until this read through to
Contracts.DivookaProgramArguments, nothing ever set it, so a Flows or Events document had no way
to reach the command line at all. Those two kinds declare no inputs and never take arguments, so this
is the way they were meant to.
The store lives lower down because the host that fills it must not link a distribution package to do
so; this is the node-facing name for it.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Runtime Environment
- Package
- Platform
Get Environment Variable
FunctionGet string value of named environment variable. Returns empty string if not available.
Signature
GetEnvironmentVariable(name: Text) -> Text
string GetEnvironmentVariable(string name)
Parameters
| name | type | default | description |
|---|---|---|---|
| name | Text | — | Name of variable. |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Runtime Environment
- Package
- Platform