Hi,
Remove Unused → Variables removes used variables.
The following bug is observed in
Before deletion
I then used the remove unused variables
However, this deletes the only variable SampleText
which is assigned a value and being consumed in a Log Message activity.
- In short,
SampleText
is not a orphan/unused variable - I am in the same scope before and after
- The consumption of the variable also happens within the same scope
This is is how it looks after in the studio
I have used this feature in 21.10.3 and it worked well, I am not sure why this happens in the latest version. Here is the file for your tests : GetSampleText.xaml (15.7 KB)
Other slightly related threads / feedback