how to create a catalog item in service catalog in which the catalog item name is equal to one field
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 03:16 AM
how to create a catalog item in service catalog in which the catalog item name is equal to one field value of the another table when ever a record inserted in another table in servicenow using business rule?
or
how to create a catalog item in service catalog from other table like incident when ever a record inserted that table in servicenow using business rule?
I used Below code but not working?
var fieldValue = current.u_model;
gs.info('Catalog item created with ID: ' + fieldValue);
var catalogItem = new GlideRecord('sc_cat_item');
catalogItem.initialize();
catalogItem.name = fieldValue;
catalogItem.insert();
0 REPLIES 0