How to get dynamic sys id
Here an example how to get dynamic Sys_id with ajax in serviceNowYou Have to create script include named getRecordSysIdByName and then you can call it in your controller or your ui pagevar getRecordSysIdByName = Class.create();getRecordSysIdByName....