I have a node content type A which has a node reference field to content type B which has a node reference field to content type C.

What I want is a url pattern of titles of the nodes that looks like: /C/B/A

Problem is that pathauto only recognizes the reference field of content type B because that is the direct reference field of A. C is not recognized. The token is available but stays empty.

So I need to know the value of the field referenced by "the parent" node.

I hope it's clear what I mean.