Read text in word not working correctly

in a word scope, I have a ‘read text’ activity.
I set the output to a string variable.
i then add a breakpoint after so i can look at the value in the local’s pannel.
but when I do the value in is @".
i click on it and it shows the text within the document for about 1 second then automatically changes to null.
Does anyone know how I can fix this?

Hi @Rowley101 ,

Here, One of the reasons might be that the value is too large to be displayed in the Debug Panel.

You could maybe check by making a Substring of that Output.

Also, You could write that Text to a Text file using Write Text File activity and check if there is data in it.

Also Could you maybe a Post a Screenshot of the Debug Panel/Workflow that shows the value as null.