Thoughts on extracting the variable names and types from conditions and actions - Gnorion/BizVR GitHub Wiki

At some point we (BizVR and VV export) will need to know the various variables that are in an expression.

We should have a discussion about how to do that.

Here are some ideas

Alternative 1: Attributes used in expressions defined at the rule level

image

Alternative 2: Attributes used in expressions defined the ruleset level

Maybe a better way is to have an inputs and outputs array for EACH decision Table similar to what we have for the decision as a whole. That way the table structure mirrors the decision structure

image This would just tell us all the attribute names used in the DT (but not specifically which rule uses them) Maybe its important to know which rule uses which attributes for dependency analysis