Error: Tried to use an entity name of an enclosing feature What to do: make sure that your inline agents operands and locals have names that are different from its enclosing feature.