Ben Weissman introduces a feature coming to BimlExpress:
So far, there wasn’t much you could do but either replicate a lot of logic, parse the XML returned, use countless annotations or have many many different versions of your callee.
All of these options aren’t too appealing, right?
But: help is here! In addition to the known CallBimlScript, you can now use: CallBimlScriptWithOutput! It allows you to make use of a dynamic object to be returned by the CallBimlScript (in addition to the Biml code) which effectively means: you can return any kind of information back to the caller.
I can see this being useful for debugging and for centralizing flow logic a little bit better. Click through for a sample script.