Creating a standard change requets
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2023 10:38 PM
In my transform script code to create an incident record, i have the below code,
target.type = "standard";
to create a standard type change. But off late, in the recent releases, this code is not being honoured and a normak change request is getting created by default.
I tried the below piece of code as well, but it does not help
var chg_model = new GlideRecord('chg_model');
chg_model.addQuery('name', 'Standard');
chg_model.query();
while (chg_model.next()) {
target.chg_model = chg_model.getValue('sys_id');
}
target.type = "standard";
I still only get a normal request being created.
0 REPLIES 0