Python Scope - Global Context

Hi,

I am trying to build a flow where i am initializing the python scope in the main workflow and wanted to run the scripts from the sub flows, however the scope is not accessible inside the subflows.

Is there any way we can achieve this in UiPath, where we only need to inilialize the python once and we can invoke the functions in different flows which is linked to the main workflow?

@RoshanJha

Basically python to run needs a scope and it does not support output variable also…So i think you cannot

Cheers

1 Like

@RoshanJha,

It’s not possible as least as of now. You will have to initialize the scope wherever you need to use any Python activities.

You can request this feature as feedback and UiPath team will take a look on this. Sample thread how we can request.

Thanks,
Ashok :slight_smile:

1 Like