AnsweredAssumed Answered

Problems with symbology based on Arcade in ArcGIS Pro 2.2

Question asked by xander_bakker on Jun 29, 2018
Latest reply on Jan 12, 2019 by KKramer-esristaff

I have a project that I created in the previous version of ArcGIS Pro, but after updating to 2.2 it does not visualize the symbology based on Arcade. Perhaps a glitch I thought so I created a new project, added the featureclass and defined Unique Values and created the expression based on a script I have used before (see: Visualizar el esquema de barrido y el próximo barrido en una ventana emergente con Arcade ). 


Arcade expression:

var dct_schedule = {'L-J': [0, 3], 'M-V': [1, 4], 'W-S': [2, 5], 'LWV': [0, 2, 4], 'MJS': [1, 3, 5], 'LaS': [0, 1, 2, 3, 4, 5]};
var lst_schedule = dct_schedule[$feature.FRECUENCIA];

var resultado = 'Otro día';
var dia_actual = Weekday(Now()) -1;
var test = IndexOf(lst_schedule, dia_actual);

if (test != -1) {
       resultado = 'Barrido hoy';
} else {
       resultado = 'Barrido otro día';

return resultado;


When I validate the expression it validates OK:


However, when I apply the expression this happens:


I notice that the buttons present in the Symbology pane have changed, but did something change to the underlying support for Arcade expressions?


CC Kory Kramer