Getting primary key ID from MYSQL server

I am using the ‘Execute Parameterized Query’  action to pull data from MYSQL server. I need the ID attribute(primary key) from the data, but when I try to grab it Mendix gives me an error saying there is no such attribute to pull. I am wonder why it says this or a way around this. 
1 answers

Hi Reece Heald,

You can use the community commons module from marketplace GetGuid function.

You would have to write a microflow to retrieve this via java action and populate in the NPE entity so that it is accessible to you.

Hope this helps!