Trying to change metric that determines bubble size in EA Workspace

Jared11
Tera Contributor

In Enterprise Workspace, I configured the Z coordinate (bubble size) in the bubble chart to be based on the user base field within the business application record.  The User Base field in the business application record has been modified from the OOTB configuration to reflect the following values:

0-49

50-99

100-499

500-999

1000-2999

3000+ 

 

The bubble size should be based on the above values given how everything is setup, but the bubble sizes in the chart stay the same.  I took a look at the script within the Bubble Chart settings and it has this:

 

    var userBase = applicationsGr.getValue('user_base');    
   
    if (userBase == '49'){
        weightScore = 2;
        }
   
    else if (userBase == '99'){
        weightScore = 4;
        }
   
    else if (userBase == '499'){
        weightScore = 6;
        }
   
    else if (userBase == '999'){
        weightScore = 8;
        }
   
    else if (userBase == '1000'){
        weightScore = 10;
 
Thinking that this is the problem in that the user base ranges in the script do not match up to what is reflected in the business application record, I changed the values to match what we have in the business application record:
 
    var userBase = applicationsGr.getValue('user_base');    
   
    if (userBase == '0-49'){
        weightScore = 2;
        }
   
    else if (userBase == '50-99'){
        weightScore = 4;
        }
   
    else if (userBase == '100-499'){
        weightScore = 6;
        }
   
    else if (userBase == '500-999'){
        weightScore = 8;
        }
   
    else if (userBase == '1000-2999'){
        weightScore = 10;
 
    else if (userBase == '3000+'){
        weightScore = 12;
 
But changing the script did not fix the issue nd the bubble sizes remain the same.  What am I missing here?
 
Thanks,
JARED  
1 REPLY 1

mcastoe
ServiceNow Employee
ServiceNow Employee

Hi @Jared11 ,

 

looks like there might be a bug.  I recommend you file a HI support ticket.  but also, you need to limit you returned values / weight on each application to a maximum if 10.

 

I assume you have checked the indicator scores, apm_app_indicator_score,  to insure you have values.

 

thanks,

mark