Comments on: Track Affected CIs in One Place https://servicenowguru.com/cmdb/track-affected-cis-one-place/ ServiceNow Consulting Scripting Administration Development Thu, 07 Mar 2024 15:52:10 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Mark Stanger https://servicenowguru.com/cmdb/track-affected-cis-one-place/#comment-8567 Tue, 26 Jun 2012 12:55:23 +0000 https://servicenowguru.wpengine.com/?p=3740#comment-8567 In reply to Joe.

Good question. Because ‘task_ci’ references the task table, and ‘short_description’ is a task field, you’ve already got access to the data you need. You should be able to get to the short description by drilling into the task field.

]]>
By: Joe https://servicenowguru.com/cmdb/track-affected-cis-one-place/#comment-8566 Tue, 26 Jun 2012 12:25:40 +0000 https://servicenowguru.wpengine.com/?p=3740#comment-8566 Mark,

This is a great article, and I am looking to implement this for our Service-Now instance, however I have one question. Do you know if there is a way to copy the Short Description of the task to the task_CI table? When looking at the related lists, I think having that bit of information available to end users would be beneficial, so that they can tell what task is what instead of opening the tasks.

]]>
By: Mark Stanger https://servicenowguru.com/cmdb/track-affected-cis-one-place/#comment-8565 Sat, 08 Oct 2011 12:59:41 +0000 https://servicenowguru.wpengine.com/?p=3740#comment-8565 In reply to Eric LeMonnier.

I’m not sure what you mean. You can do that with the regular Configuration Item field but it has the obvious limitation of only being able to store a single value. You can set up a business rule to copy an affected CI into the Configuration Item field easily enough, but how do you dynamically determine which CI to put in that field?
As far as the list view goes, you might consider creating a report or module available that points to the ‘task_ci’ table so that people can easily see which tasks are impacting a given CI. You could even set up a related list on CI forms showing all of the associated tasks. You would just want to ensure that people couldn’t modify that relationship from any place other than the Affected CI list on a task.

]]>
By: Eric LeMonnier https://servicenowguru.com/cmdb/track-affected-cis-one-place/#comment-8564 Fri, 07 Oct 2011 20:58:43 +0000 https://servicenowguru.wpengine.com/?p=3740#comment-8564 This is a great article. Now I’m looking to accomplish the opposite as well; to take an Affected CI and populate the Configuration Item (cmdb_ci) automatically. This way we would have some better visibility from a list view and can make it easier to validate a mandatory CI.

]]>
By: Rick https://servicenowguru.com/cmdb/track-affected-cis-one-place/#comment-8563 Thu, 09 Jun 2011 09:03:02 +0000 https://servicenowguru.wpengine.com/?p=3740#comment-8563 Mark

Thanks for the article, very helpful.

]]>
By: Mark Stanger https://servicenowguru.com/cmdb/track-affected-cis-one-place/#comment-8562 Tue, 31 May 2011 06:05:57 +0000 https://servicenowguru.wpengine.com/?p=3740#comment-8562 In reply to Richard Huss.

You’re right! I was passing that in as a parameter at one point but I removed it. Good catch.

]]>
By: Richard Huss https://servicenowguru.com/cmdb/track-affected-cis-one-place/#comment-8561 Tue, 31 May 2011 05:56:38 +0000 https://servicenowguru.wpengine.com/?p=3740#comment-8561 In the addCI() function I think the line

rec.addQuery(‘ci_item’, ci);

should be

rec.addQuery(‘ci_item’, current.cmdb_ci);

?

]]>