Getting new sys_id from a UI Builder Create Data Resource execute call

SG17
Tera Expert

I have a Create Data Resource (create_new_test_record_from_button_click) within UI Builder and call .execute() on it with my template fields. Is there a way to get the sys_id of the newly created record?

 

api.data.create_new_test_record_from_button_click.execute({
     "table": "x_g_test_table",
     "templateFields": templateFields,
     "useSetDisplayValue": false
});

 

The api of the execute function doesn't seem to return anything.

https://docs.servicenow.com/bundle/tokyo-api-reference/page/app-store/dev_portal/API_reference/api/c...

 

Regards