active is true

ulvi
Giga Expert

Hi to All,

I would like to understand better, when we are using Active is true condition?

If I'm looking for open incidents on this month do I need to give this condition? and additional do I need to choose also incident state is one of new(assigned,...) condition?

Regards,

1 ACCEPTED SOLUTION

Chuck Tomasi
Tera Patron

Hi Ulvi,



The active flag is a way to specify which task states are "active" and which are not without having to worry about specific states on each report, list, module, etc. You define which states are active using the close_state dictionary attribute.



By default, close states are 3, 4, and 7. Everything else, by default is active=true. When one of the 3,4, 7 states is set, the system automatically changes active to false. This allows you to "group" your open and closed states together easier.



If you use active=true, you do not need to include "State is one of..." that's the whole point of the active field.



Dictionary Attributes - ServiceNow Wiki



I hope that helps.


View solution in original post

6 REPLIES 6

Hi Chuck,


Yes of course I'm strongly follow the rules. But here I'm playing with conditions I have different answers with different conditions. Active is true condition showed me all incident states except Closed, but State is one of New ( awaiting, work in progress and etc.) showed me all states report which I selected ( I didnt select resolved,closed and cancelled). And this is exactly what I'm looking for. This is right answer for me.


Previously I checked with incident state is one of ....It didnt give me right answer. Now I'm satisfied. Thanks. I found my answer.



Best Regards,


Ulvi


Hi,


I know this thread is old, but I have a similar question.

 

Issue:  I am trying to create a report to see how many incidents were open in a given month where specific knowledge articles were attached.  However, the "Applied Conditions" has Active = True.  There is no way for me to toggle that off.  The Source type I have is Data source, and the Data Source is currently set to "Incidents.Open (Incident)".  This is because I want to know how many incidents were opened in a particular month, regardless of the status of it being active (open, assigned, in progress), or inactive (resolved, closed).  

 

Is there a way to toggle "active = true" as NOT a requirement so it doesn't filter out incidents that were opened that is now resolved/closed?