We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Override "Calculated" field.

akeppel
Tera Contributor

Question. I'm trying to calculate the "short_description" field for project tasks so it's a combination of the "top_task" and a "u_short_name" field (PJ01234 - Order Equipment), but can't set the calculation on the "task.short_description" field because it will apply that calculation to the short_description of ALL tasks (incidents, problems, catalog tasks, etc...).

I figured I'd use a dictionary-override so it just applied this calculation to pm_project_task records, which works fine...IF I have the "calculated" box checked on "task.short_description" (but then, if I do that, it calculates all short_descriptions again...)

I can't find a way to make a dictionary-override override whether or not the field is calculated. I can override what the calculation IS, but not whether or not it's calculated. If I leave "calculated" (the property is actually called "virtual") unchecked, it ignores my dictionary override calculation.

Anybody know if there's a way to override the "calculated" box in a dictionary override? I can't find mention of an attribute to set to "true" in any of the pages about the dictionary.

Andrew

http://wiki.service-now.com/index.php?title=System_Dictionary (calculated and calculation fields)
http://wiki.service-now.com/index.php?title=Dictionary_Attributes

5 REPLIES 5

akeppel
Tera Contributor

Sounds like there's a lot of ways to skin this cat, but I think the Business Rule seems like the least invasive. Thanks for the help gents!