- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2019 01:13 AM
Hello,
I have a requirement when Service Now gets an update to the BitLocker status field then it will create an incident for the support group for that computer. Can anyone please suggest me that where we can see the BitLocker status field in service now.
Can anyone please help me with this.
Regards,
Nivedita
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2019 07:32 AM
Hi,
Go to cmdb_ci.list and search with name --contains--locker and see if there is any record for bitlocker.
Yes, you can write business rule to create an incident. In BR, in when to run the condition can be status changes and in script field you may write below based on your requirement.
var incRec = new GlideRecord('incident');
incRec.newRecord();
incRec.short_description = 'bit locker status changed';
incRec.cmdb_ci = current.sys_id;
incRec.assignment_group ='sys_id_of_group';
incRec.insert();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2019 01:07 AM
Hello,
I need to capture asset value of the computer and i have to set that asset value in description field of ticket that is being created after update of Bitlocker status field. I have written below code but i am not able to get asset value.
Please find the code :
incRec.description = current.asset;
Can you please tell me how i can get asset value of that computer.
Regards,
Nivedita