Hey @appleianer,
Is this what you had in mind?
Go To ⇢ Activate Group for 1 Action's Target Group v1.00.kmmacros (5.4 KB)
Take the AppleScript apart and see how it works.
It's just a variation on the Go To Executed Macro.
Copy the XML from the selected action using the Edit › Copy as › Copy as XML
command in the Keyboard Maestro Editor.
Examine the structure and see how my macro extracts the UUID of the target.
Once you understand that you won't have to ask me to do this sort of thing for you anymore. It's simple once you know how.
-Chris