I'm trying to package some of my flows into sub-flows to make it easier to follow.
One of my function nodes is going through the flow context store using:
and delete some variables when they are not needed.
After packaging this into sub-flows this function stopped working.
I know that the parent variable can be accessed by using
flow.get('$parent.' + 'variable_name');
Is there any option to use keys() function and then to set specific $parent variables to undefined?
Basically, I need to retrieve a list of the parent flow variables to find ones that need deleting and delete them from the sub-flow level.