I hope everything is fine!
So basically what I intend to do is the following: I have a certain python script that gives different results across time. I was able to bring the script to UIPath by using Load Python Script > Invoke Python Method > Get Python Method, all inside a Python Scope activity (until here everything is fine).
The python script is made in a way that gives different outcomes overtime. These outcomes are used as directions/orders so that UiPath continue the process according those instructions.
The main issue here is that I am not being able to get the outcome of the python script overtime. If I use the regular sequence (Load Python Script > Invoke Python Method > Get Python Method, all inside a Python Scope activity), the script will always restart, meaning that UiPath will only get a fraction (the first outcome) of the python script.
Therefore, my question is; how can we get information from python over the process without restarting the script everytime?
PS: Imagine a python script that gives “1” and after one second it gives “2”; how can i get these two results in UiPath? If I use the “Load Python Script>…”, I will always get the number 1.