Hi, I am trying to run a flow from within a flow w...
# ask-community
t
Hi, I am trying to run a flow from within a flow with result persistence on and get the following error:
Copy code
line 139, in from_flow
    result_storage=flow.result_storage or ctx.result_factory.storage_block,
AttributeError: 'Flow' object has no attribute 'result_storage'
Any help would be appreciated.
c
What version are you using , and how is flow defined , as well as result storage? Flow.result_storage in a sub-flow should be defaulting to the parent flow result storage , whatever that is
t
version 2.7.12 and I set result_storage to a local-file-system block. for both parent- and sub-flow. Should I not set a flow-storage for the subflow?
c
It inherits the parent by default
So I don’t see that there is a requirement to do it
t
Thanks for the answer. It works now as expected. But I am not sure if I stumbled over something weird or not. I will have to investigate further.