- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2019 01:50 PM
How would I create a new configuration item (CI) from an existing asset record? ServiceNow provides the option to create an asset from an existing CI record but not the other way around.
Solved! Go to Solution.
- Labels:
-
Enterprise Asset Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2019 11:17 PM
Hi, OOB an Asset automatically creates a CI on insert. Looking at the insert BR's for asset tables,
'Create CI on insert' would appear the be the rule that does this (I didn't test) and the code for this is simply
(new AssetandCI()).createCI(current);
You can read the code to see what goes on and why, but even without an end to end review you can probably utilize the same functionality via an update BR that triggers when the asset CI field is empty, or you could create a UI action for a more granular control.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2019 11:17 PM
Hi, OOB an Asset automatically creates a CI on insert. Looking at the insert BR's for asset tables,
'Create CI on insert' would appear the be the rule that does this (I didn't test) and the code for this is simply
(new AssetandCI()).createCI(current);
You can read the code to see what goes on and why, but even without an end to end review you can probably utilize the same functionality via an update BR that triggers when the asset CI field is empty, or you could create a UI action for a more granular control.