Hello,
I am trying to use [Switch.FlowName] as part of a command prompt command using the RUN Command.
something like this: echo %%[Switch.FlowName]%% >"test.out"
But it does not work.
How can I use a private data key and a variable for a command.
Thank you
Using Private Data key as a command variable
-
- Newbie
- Posts: 1
- Joined: Tue Jul 01, 2025 5:42 am
- Location: london
Re: Using Private Data key as a command variable
In Enfocus Switch, to use a variable like [Switch.FlowName] in a RUN command, you don't need %%...%%. You just need to use the Switch variable with the correct syntax, Switch will automatically replace the value at runtime.