Read info from assembly parts

Hello to all once again.

I would like to read information from the components that are inserted into the assembly.

I have “String” property in product that I’m inserting into assembly and this I’d like to read.

Unfortunately result of my function is:

I also tested component properties and different types of it (string, bolean, integer), but always with same result.

Thank you for your help.

The created ArrivedProducts variable is probably not of type “product”, but maybe a “list of products” or something else.

If it is a list (array) you need to use the indexing syntax like ArrivedProducts[0].Prod == “A”

Thanks @TSy for your reply, but it’s still not working, I got the same output error message.
Have you got any other idea?