I’ve build a process that it seems like it is assigning the value to a variable, but then when checking it further down in the process shows as blank.
Find the xaml file attached and the test file I’m usingtest.zip (224 Bytes)
. The variable in particular is ‘task’ and it is assigned correctly in LoopThroughContent but shows blank in CheckCorrectInfoReceived.
I might be missing something silly, but I’ve been through all day with this and I’m getting crazy
This was related with clearly scope of variable problem because as you said this is working in one scope and same name you are using without assignment and all so just checked all variables scope and UiPath studio will help you to identify these kind of error as well.
what i have observed in text file there is space after the names like From: name so you can use “trim()” function on string and if you are still getting no task variable value then check the attached workflow.
Try with this attached workflow and let me know
*Just change the file path and filechangetrigger path.