Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Error message java.lang.IllegalArgumentException: to must be after from

Tatyana
Mega Contributor

Hi to all! 

I make a time series widjet (Visualisation - line),  based on formula indicator. Then i add another formula indicator (In the Widjet Indicators tab). Both indicators have similar calculations. But i have an error massage - java.lang.IllegalArgumentException: to must be after from. Why?

 

By the way: One formula indicator for today, another for yesterday - it is a problem?

1 ACCEPTED SOLUTION

Aaron Munoz
Tera Guru

Try to separate them into two separate widgets and look at the results.

Another possible issue is that the indicators used by the formulas have enabled real time scores, but one of them is based on today and the other on yesterday which is a mismatch.

View solution in original post

3 REPLIES 3

asifnoor
Kilo Patron

Can you share the code of the widgets?

Tatyana
Mega Contributor

Thank you a lot, I mean this is a problem for this type  (Visualisation - line). One indicator have score for today, but another - not.  (The queue on 18 p.m. and 6.0 a.m.)

Thank you a lot.

Aaron Munoz
Tera Guru

Try to separate them into two separate widgets and look at the results.

Another possible issue is that the indicators used by the formulas have enabled real time scores, but one of them is based on today and the other on yesterday which is a mismatch.