Why active is false when creating a new record on a task extended table?

appletree88
Kilo Explorer

The Create New link at left-side menu worked before. What are the possible reasons? Thanks

2 REPLIES 2

Jim Coyne
Kilo Patron

Depends on 2 things: are you creating the record from a filtered list and the dictionary definition of the Active field.



If you read the "New" point of this Wiki article, Using Lists - ServiceNow Wiki, you will see that new records will have the values of the filter automatically applied to the fields whenever you click on the New button in a filtered list.



As the Wiki article explains, there is a Dictionary attribute now that controls this behaviour, called "ignore_filter_on_new".   I'm not sure when it first appeared, but depending on the version of your instance, the "Attributes" field for the Active column on the Task table may not have the following value: "ignore_filter_on_new=true".



And to be honest, your instance version may not even support the attribute.   Like I said, I'm not sure what version the attribute first appeared in.



As for the "Create New" module, is there a filter defined on it?


Thank you for your reply. I did read the Wiki article.



The setting for Filters is None and the default value of Active field in dictionary definition is true. When clicking on New button, Active field is deselected in blank form. I've also set up two create new links at side menu for testing (details below), which give me the same results.



1. Link type is "URL (from Arguments:) "


      Arguments: mytablename.do?sys_id=-1&sysparm_query=active=true&sysparm_stack=mytablename_list.do?sysparm_query=active=true


2. Link type is "New Record"



I am wondering if error is caused by any conflict between customized business rules and "Task Active State Management" business rule. I inactivated "Task Active State Management" business rule but didn't see any improve, then I activated it back. Was it the possible reason?