I hope someone can help me; I have a little bit of a beginner question. How can i access an object and its variables/attributes after a successfull search. In log i get results so its working but iam not able to access or handle the result... I simply like to get the key, name and so on, within the .each but dont know how to do that.
def asset = Assets.search('objectType IN ("Users") AND Email = "test@test.at"').each {
return it.Key // this doesnt work
//log.debug(it) // log result
}