Skip to content

TS Variables not set as expected

Featured Replies

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.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.