Transaction Group Historical > get index of last data inserted

Hi,

i’m using a Transaction Group (Historical) to add data to a table and all works fine.
Is there any way to get the autogenerated index using the same transaction?

Hmm, I was waiting for some good answers on this.

What we do is, trigger an expression item which executes scripting function. In the scripting function, have the update query with getKey = 1.