Hello,
I was following below article for Windows 10 Upgrade Assessment. I have created Upgrade Assessment task sequence with steps to set custom TS variable on value of _SMSTSOSUpgradeActionReturnCode TS variable.
https://deploymentresearch.com/Research/Post/533/Improving-the-ConfigMgr-Inplace-Upgrade-Task-Sequence
My TS is setting custom variables (Message) depending upon the value assigned to _SMSTSOSUpgradeActionReturnCode .
But what I observed is TS variable evaluation returns true only for _SMSTSOSUpgradeActionReturnCode = 3247440400 else returns false as per smsts.log even condition is matching.
For example:
1) _SMSTSOSUpgradeActionReturnCode = 3247440400, set Message = No compatibility issues => Happening
2) _SMSTSOSUpgradeActionReturnCode = 3247440392, set Message = Compatibility issues => Not happening because evaluated to false.
I confirmed by dumping TS variables to text file and found it _SMSTSOSUpgradeActionReturnCode = 3247440392 but still condition evaluates to false as per smsts.log. I have changed order of steps of setting TS variable, use of Dynamic Variable but outcome is same.
I am using steps from below URL for setting custom message:
Any help or thought to solve this puzzle is highly appreciated.