Unfortunately workflow properties set in a sub workflow are not available to other workflows. Neither the parent that called it or other ones downstream. So you will have to do a workaround for this. One way to do this is to:
1) Create a custom incident property that will hold the data you need for sending the email. Most likely the easiest thing to do is create a text field as you can put a JSON string in there.
2) In the workflows, read the incident property, convert the text to a json format, or a python dictionary. Then update the property with the new information.
3) In the parent, get the incident property and parse it to pass to the function input appropriately.
We are actively designing ways to significantly improve this type of developer experience. This will help us in this process.
Ben
------------------------------
Ben Lurie
------------------------------