• I would recommend trying to create a separate Script Task to display the variable to see if it stays changed outside the assigning task.