- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
Hi ,
If you want to use newly created row ID just after creating a record then I will suggest you to use second way to create records i.e usinf create method.
var object = namespace.schemaName.create( <schemaName col1 = {"value1"} col2 = {"value2"} /> );
object.save();
logInfo(" Id of latest added record is "+ object["id"]);
Thanks,
Kapil