Hi thanks for the responses.
Instead of allocating the thing to the state I changed it to take just a string that I needed. That partnered with using the “get result of a step” seems to have sorted the issue.
Thanks guys.
Johnny