- 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-06-2019 02:08 AM
Open any record and change the status. if that's not possible, create new record and test
please mark as correct answer if it's helpful.
Thanks,
Abhishek
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2019 01:03 AM
Hello Abhishek,
Thank you for your reply.
Please find my below code and correct me if i am doing anything wrong :
Regards,
Nivedita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2019 01:16 AM
Hello Bilbo,
Thank you for your reply.
I have tested it and it is creating an incident. One more thing i need to ask that in my requirement it is mention that it will create an incident ticket for the support group for that computer.
If no support group is found then it will assign the ticket to L2 help desk for proper assignment. So can you please suggest that how i can check this condition like when support group is available for the computer then it will create an incident for that computers support group and if support group not found for the computer then it would create ticket for L2 help desk.
Can you please help me with this.
Regards,
Nivedita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2019 01:28 AM
Hello Bilbo,
We need to create an incident for location xxx for now. When Bitlocker staus is Non-compliant and location of computer is xxx then it should create an incident.
Can you please help me with this.
Regards,
Nivedita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2019 03:50 AM
Hello Bilbo,
Can you please help me with this?
Regards,
Nivedita