Variable Values

Hello All, I am having an issue while i am building my test. i cannot save my variables value once i run it. i have to run from the start to get my variable value. how can i hold my variable value after the run. thanks

Hey @tanvir.islam
If I understood your question correctly – in UiPath, variables are reset every time the process runs. They only exist during the execution session and are not persistent between runs.
If you want to retain a variable’s value after the execution ends, you need to store it externally. Depending on your needs, you can use options like storing it in an Orchestrator Asset, writing it to a queue, or saving it in a database.

If you’re just trying to see the value of a variable as it runs, you can use Log Message to write it to the Output so you can see it.

If you’re trying to follow the variable’s value as the process executes, then you should be using breakpoints, and Debug mode, and using the panels on the left to look at the value of variables when it pauses.

1 Like

thank you very much. your input really help me a lot.

@tanvir.islam
If you found the answer in any of the posts, feel free to mark it as a solution - it helps close the topic and can guide others in the future too :slight_smile: