I found a problem with accessing the variables returned to the main flow from a different workflow.
Normally, the variables can be accessed (in code) by using workflow[“NameOfFlow”] - but if you end up renaming the secondary workflow, the object that gets returned to the main flow does not get the new name.
So - if I create a flow called “askForContactInfo” and then later rename it to “getContactInfo”, I should be able to access any returned variables with workflow[“getContactInfo”].
but I can’t. The variables will be in workflow[“askForContactInfo”].
.
Everything else (pointers in other flows, etc) get updated to the new name - but not this. So if I wanted to modify a flow I had created a month ago and access vars from a sub-flow, and I don’t remember that it had been renamed and/or what the original name was - my code isn’t going to work.
Wasn’t sure where to report this - so I figured “General” would do 🤷🏻♂️