A python script is required to continue running after UiPath logs off. It runs for a long time and when the automation finishes and logs off, the python script is also aborted.
- Start a Python process with the Start Process activity
- Set the ExecutionType property to [Synchronously]
- With this method, the automation finishes after the Python script has finished the execution.