<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Group Member Counts Reports</title>
	<atom:link href="http://www.servicenowguru.com/reporting/group-member-counts-reports/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.servicenowguru.com/reporting/group-member-counts-reports/</link>
	<description>ServiceNow Consulting Scripting Administration Development</description>
	<lastBuildDate>Tue, 07 Feb 2012 15:04:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mark Stanger</title>
		<link>http://www.servicenowguru.com/reporting/group-member-counts-reports/comment-page-1/#comment-712</link>
		<dc:creator>Mark Stanger</dc:creator>
		<pubDate>Fri, 23 Jul 2010 06:06:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.servicenowguru.com/?p=1811#comment-712</guid>
		<description>If you need the counts to be accurate up to the second, then that&#039;s the way to do it for sure.  The scripting is pretty similar, but will run once for each record updated or deleted.  The thing to remember (which you already know) is that if you remove or add 50 people from a group the entire script runs 50 times for that single action!  Usually that isn&#039;t an issue, but depending on how up-to-date you need the information you might go the scheduled job route instead. 
For the scenario given above, you would actually need two business rules (one on the &#039;sys_user_grmember&#039; table for group member counts and one on the &#039;sys_user&#039; table for active user counts). 
If you&#039;ve got a script to share you&#039;re welcome to post it in a comment here!  It might help someone else with the same issue. </description>
		<content:encoded><![CDATA[<p>If you need the counts to be accurate up to the second, then that&#8217;s the way to do it for sure.  The scripting is pretty similar, but will run once for each record updated or deleted.  The thing to remember (which you already know) is that if you remove or add 50 people from a group the entire script runs 50 times for that single action!  Usually that isn&#8217;t an issue, but depending on how up-to-date you need the information you might go the scheduled job route instead.</p>
<p>For the scenario given above, you would actually need two business rules (one on the &#8216;sys_user_grmember&#8217; table for group member counts and one on the &#8216;sys_user&#8217; table for active user counts).</p>
<p>If you&#8217;ve got a script to share you&#8217;re welcome to post it in a comment here!  It might help someone else with the same issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sylvain.aspediens</title>
		<link>http://www.servicenowguru.com/reporting/group-member-counts-reports/comment-page-1/#comment-708</link>
		<dc:creator>sylvain.aspediens</dc:creator>
		<pubDate>Thu, 22 Jul 2010 03:56:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.servicenowguru.com/?p=1811#comment-708</guid>
		<description>Thanks for the share. 
 
I got a similar requirements, but I solved it by creating a Business Rule on the &quot;sys_user_grmember&quot; table. When a new record is created, I increment the group variable. And do the opposite when the record is deleted ;). 
 
thanks 
Sylvain </description>
		<content:encoded><![CDATA[<p>Thanks for the share.</p>
<p>I got a similar requirements, but I solved it by creating a Business Rule on the &#8220;sys_user_grmember&#8221; table. When a new record is created, I increment the group variable. And do the opposite when the record is deleted <img src='http://www.servicenowguru.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> .</p>
<p>thanks</p>
<p>Sylvain</p>
]]></content:encoded>
	</item>
</channel>
</rss>

