Hi all,
I am trying to retrieve a list of all objects associated with an employee through AQL.
Employee is an object in my object schema which has multiple properties such as Name and User (object).
Statement below works and retrieves all the objects
object HAVING outboundReferences(objectType = "Employees" and Name = "John Doe")
I have tried several options to make this generic but none of them seem to work
object HAVING outboundReferences(objectType = "Employees" and Name = ${reporter.displayName})
object HAVING outboundReferences(objectType = "Employees" and User = currentReporter())
What am I doing wrong? Any suggestions?
Thank you!