In a *coded step*, I want to set a variable (SetExtractedValue) containing the machine name. Later, in the *Visual Steps*, I want to use an IF statement to interrogate the value of the variable and make a decision as to whether one block of statements should be run depending on the value.
So, if in the coded step, the following lines are found:
string sComputerName = System.Environment.MachineName;
SetExtractedValue("RunningComputerName", sComputerName.ToString());
Then later, in a Visual Step, I want some include an IF statement with something like:
IF (GetExtractedValue("RunningComputerName") = "BEDNERLT")
do this block of visual steps
ELSE
do this other block of visual steps
As a corollary request, allow a visual step to set the value of a variable that can be accessed by a coded step.