Not getting related data from record type relationship

Certified Associate Developer

I have 2 record types, totally Sync, with a relationship One Event to Many Instructions, properly related, as I have a custom record field in Event about a sumatory of an Instructions field which is correctly working...

But then, when I query the Events,I retrieve nothing using: 

local!instructions: local!events[recordType!Event.relationships.instruction]
.

So I've tried to fill the relatedRecordData field in the query of events but it keeps retrieving nothing, null data. 

local!events: a!queryRecordType(...
relatedRecordData:
a!relatedRecordData(
    relationship: recordType!Event.relationships.instruction
    ),
...    ),
local!instructions: local!events[recordType!Event.relationships.instruction.idInstruction],




How can this be? Maybe Security, how? Is it just not the proper way to retrieve its data?

Thanks in advance

  Discussion posts and replies are publicly visible