Declined
Last Updated: 08 Jan 2024 07:27 by ADMIN
Don
Created on: 11 May 2016 18:10
Type: Feature Request
3
Allow Visual IF step to interrogate variables and values defined in a coded step for decision making of IF
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.
1 comment
Medha
Posted on: 07 Jun 2016 09:09
This would be a nice addition and will give us a lot of flexibility. As of now the If statements can only include verification points.