sysId of record created in UI Builder
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-03-2024 02:57 AM
how can i get the sys_id of the record created throgh create record data resource, i have tried various answers from communities but none is working. Requirement is when the record is getting created through a button, then store the sys_id of that record, so that we can further use to fetch or manipulate data
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-03-2024 01:19 PM
I created a create record data resource and a button to invoke it:
 
I created a script like so:
That I call on success of the data broker like so:
And you can see the sysid of the new record created in the logs: 
in my case I can access the sys_id like this `
event.payload.data.output.data.GlideRecord_Mutation.insert_incident.sys_id.value`