This content has been marked as final. Show 2 replies
Make sure that the attributes you are trying to declare for the child include the full string "the child" (i.e. exactly the same as the entity name) otherwise OPA will just assign them to the global entity (I still get caught out with this sometimes!).
It's best to declare these in a property file rather than the Declarations Tab of the Excel document, so that should help too.
It's worth noting that you won't be able to have a global conclusion if you are also using conditions with attributes which belong to "the child", but you will be able to have a child-level conclusion which uses global attributes in the conditions, since the child is contained by global. The reason you cannot have a global conclusion and use child conditions is that "global" will not know which child you are talking about, and you cannot use cross-entity reasoning like ForAllScope() and ExistsScope() in Excel.
The OPM help includes some useful information, see the article "Define decision tables in Excel workbooks". You should never need to modify the .xgen file.
I hope this helps, let me know if you need more information.