Calculation Validations

After creating calculations or calculation options, they must first be validated by the system to make sure there are no errors. If there are any, the system may issue a warning or error message. Below some warnings and errors are outlined with a small explanation to clarify what the error is, where it occurs, what action(s) should be taken to fix the error.

The configured object type id(s) is invalid

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
Calculation OptionsErrorThe configured object type id(s) is invalidCorrect the reported object typereference=children[1234;5602]Child object type %1% is invalidOnderliggend objecttype %1% is ongeldig

What is the error message: An error that occurs when you try to refer to an object ID that does not exist (anymore)
Where does the error message occur: in the calculation options
What action should be taken to fix the error message: change the object ID to an existing ID so that the calculation is correct again. This is because it cannot refer to an ID that does not exist

The configured reference field is invalid

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
Calculation Options
ErrorThe configured reference field is invalidCorrected the reported fieldreference=InvalidFieldNameField %1% is not a valid reference field. Is the capitalization correct?Veld %1% is geen geldig referentieveld. Klopt het hoofdlettergebruik?

What is the error message: an error that occurs when you try to reference a field in your calculation that does not exist or is misspelled
Where does the error message occur: in the calculation options
What action should be taken to fix the error message: check that the field you are referencing actually exists. Is there a spelling error in the field? References are also case sensitive so check for that as well. If there is no spelling error in the reference, the referenced field may not exist (anymore)

The configured relationtype is invalid

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
Calculation OptionsErrorThe configured relationtype is invalidThis should not be used anymorerelation=dependencyReference field triggers have the following format: relation=RELATION_TYPE[FOLDER_TYPE_ID_1,FOLDER_TYPE_ID_N] (e.g. relation=planning[5602])Referentieveldtriggers hebben de volgende notatie: relation=RELATION_TYPE[FOLDER_TYPE_ID_1,FOLDER_TYPE_ID_N] (bijv. relation=planning[5602])

What is the error message: an error that occurs when a relation is used in the reference field that does not exist (anymore)
Where does the error message occur: in the calculation options
What action should be taken to fix the error message: use another relation (also called dependency). This is because the relationship used now no longer exists or is spelled incorrectly

The configured option is not valid at all

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
Calculation Options
WarningThe configured option is not valid at allDo not use this field anymoreNotEvenAValidOptionOption %1% not recognizedOptie %1% niet herkend

What is the error message: a warning that occurs when an option, which is configured, is not a valid option
Where does the error message occur: in the calculation options
What action should be taken to fix the error message: use a different configuration for this field. This is because the current configuration is not recognized, causing the system to issue a warning

This option makes the calculation slow

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
Calculation Options
WarningThis option makes the calculation slowDo not use configurations like this anymorereference=children[5602;5603]Calculation option ‘%1%’ can be slow and might have an impact on performanceBerekeningsoptie ‘%1%’ kan traag zijn en kan van invloed zijn op de prestaties

What is the error message: a warning that occurs when a reference is made that causes the entire calculation to run slowly
Where does the error message occur: in the calculation options
What action should be taken to fix the error message: do not use this configuration. This causes performance problems for all calculations. Choose an alternative option where this warning does not occur so that overall performance remains optimal

This filter is reprecated

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
CalculationWarningThis filter is reprecatedChange configuration to use the new FolderFilterDeprecated calculation detected: elements are deprecated and should be replaced by Verouderde calculatie gedetecteerd: elementen zijn verouderd en moeten door vervangen worden.

What is the error message: a warning that occurs when a filter option that is obsolete is used
Where does the error message occur: in a calculation
What action should be taken to fix the error message: use the new FolderFilter instead of the obsolete filter

The calculation should not be used at all. Especially the searchStructure and subfolders attributes.

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
CalculationWarningThe calculation should not be used at all. Especially the searchStructure and subfolders attributes.Do not use at all<set>
searchStructure=’xyz’>…</set>
Deprecated calculation detected: configured to set values on other folders is deprecated; use ‘Calculation option’ instead.Deconstructie met om waarden op andere folders te zetten is verouderd. Gebruik ‘Calculation option’.

What is the error message: a warning that occurs when the <set> attribute is used within a calculation
Where does the error message occur: in a calculation
What action should be taken to fix the error message: do not use the <set> attribute. This attribute is outdated and is the cause of the warning. In addition, do not use an attribute that uses the <set>

The calculation should not be used anymore

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
CalculationWarningThe calculation should not be used anymoreDo not use at all<setChildren…>
…</setChildren>
Deprecated calculation detected: Might have negative performance impact.

What is the error message: a warning that occurs when the <setChildren> attribute is used in a calculation
Where does the error message occur: In a calculation
What action should be taken to fix the error message: do not use the setChildren attribute, it is the cause of the warning. This is because setChildren is obsolete and has a negative impact on performance

The field was not correctly typed (casing)

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
CalculationErrorThe field was not correctly typed (casing)Correct the field namecustom1 instead of Custom1Field has incorrect capitalization. Was %1%, but needs to be %2%Veld heeft een onjuist hoofdlettergebruik. Was %1%, maar moet %2% zijn

What is the error message: an error that occurs when there is a capitalization error in the field being referenced
Where does the error message occur: In a calculation
What action should be taken to fix the error message: check the spelling of the referenced fields. Note that calculations are case sensitive. Adjust the field where the capital letter(s) are incorrect or correct the spelling of the field to the correct spelling

The field name could not be validated. It might be correct.

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
CalculationWarningThe field name could not be validated. It might be correct.Validate the namedummyField %1% might not be correct. This is OK when it is a field of a reference or when used in combination with for example a folderFilter. Please validate the field name. Are you sure %1% is correct?Veld %1% is mogelijk niet correct. Dit is OK wanneer het een referentieveld is of wanneer het wordt gebruikt in combinatie met bijvoorbeeld een folderFilter. Valideer de veldnaam. Weet je zeker dat %1% correct is?

What is the error message: a warning that occurs when the field name used in a calculation cannot be validated
Where does the error message occur: in a calculation
What action should be taken to fix the error message: check that the field really exists and pay attention to the spelling. This is because the system cannot verify whether the field used exists or not

xml incorrect

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
CalculationErrorxml incorrectCorrect xml (check ‘’, and quotes). <cmp><field>test<field></cmp>

(second <field> should have a / after the opening bracket)
Invalid XML. Please correct the calculation XML.Ongeldige XML. Verbeter de XML van de calculatie.

What is the error message: an error that occurs when there is an error in the xml code
Where does the error message occur: in a calculation
What action should be taken to fix the error message: check the spelling of the xml code used. Is there a spelling error in a block? Note that a block always starts with <attribute> and a block always ends with a / in it

Invalid object types configured

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
CalculationErrorInvalid object types configuredCorrect object typesNone of the specified foldertypes (%1%) seems validGeen van de opgegeven foldertypen (%1%) lijkt geldig

What is the error message: an error that occurs when the object types used are all incorrect
Where does the error message occur: in a calculation
What action should be taken to fix the error message: the object types used do not exist (anymore). Check for spelling errors. Note that object types are case sensitive. Replace the object types used with the correct types

Field has incomplete configuration

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
CalculationWarningField has incomplete configurationAsk support / development; should not happenReference field doesn’t seem to have an active object typeReferentieveld lijkt geen actief objecttype te hebben

What is the error message: a warning that occurs when a field has an incomplete configuration
Where does the error message occur: in a calculation
What action should be taken to resolve the error message: contact support or the development team for assistance. An incomplete field should not be present.

Reference field incorrect

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
CalculationErrorReference field incorrectFix configured reference field<field>
reference=’FaultyName’>…</field>
Reference field %1% is invalidReferentieveld %1% is ongeldig

What is the error message: an error that occurs when a reference field used is incorrect
Where does the error message occur: in a calculation
What action should be taken to fix the error message: Replace the reference field used for the correct variant. Pay attention to spelling or capitalization. Check that the current reference is not obsolete and has already been replaced by another

Not supported anymore

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
CalculationErrorNot supported anymoreRemove calculation schedule=’nightly’>…Scheduled calculations are no longer supportedGeplande calculaties worden niet langer ondersteund

What is the error message: an error that occurs when you try to run a scheduled calculation
Where does the error message occur: in a calculation
What action should be taken to fix the error message: do not use scheduled calculations. These are no longer supported

‘searchStructure’ invalid

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
CalculationWarning‘searchStructure’ invalidCorrect value<field searchStructure=’FirstParent=123′>Projectmanager
</field>
Search structure %1% could not be validated. So field %2% cannot be validated. Are you sure it is correct?Zoekstructuur %1% kan niet worden gevalideerd. Veld %2% kan dus niet worden gevalideerd. Weet je zeker dat het klopt?

What is the error message: a warning that occurs when a value is given to a field without the system being able to validate this value
Where does the error message occur: in a calculation
What action should be taken to fix the error message: check the value being passed to the field Is it the right one? Use a different value in this case that it is not the correct value. An unvalidated value causes all values below it to also be unvalidated, rendering the entire calculation ineffective

is slow

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
CalculationWarning is slowDo not use it anymore<equ>

</equ>
Slow calculation detected: calculation. Use a function to improve its performance.Langzame calculatie gedetecteerd: calculatie. Gebruik een functie om de prestatie te verbeteren.

What is the error message: a warning that occurs when the <equ> block is used for a calculation
Where does the error message occur: in a calculation
What action should be taken to fix the error message: do not use <equ>. This block causes slower performance of the entire calculation

‘foldertype’ invalid

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
CalculationError‘foldertype’ invalidCorrect value foldertype=’5000,abcdef’>…‘foldertypes’ attribute value %1% seems invalid‘foldertypes’ attribuut waarde %1% lijkt niet geldig te zijn

What is the error message: an error that occurs when the value for a folder type is not correct
Where does the error message occur: in a calculation
What action should be taken to fix the error message: change the value to the correct folder type. This makes the error disappear

Do not use to test for true/false

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
CalculationWarningDo not use to test for true/falseUse or insteadCustom1Do not use a calculation with boolean value (true or false). Use or instead.

What is the error message: a warning that occurs when the <cmp> block is used for a true/false comparison
Where does the error message occur: in a calculation
What action should be taken to fix the error message: do not use the cmp block for true or false comparisons. Instead, use the tst block or the not block. The not block is for the inverse of the tst block

Invalid calculation block

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
CalculationErrorInvalid calculation blockCorrect configuration<cmpp>
…</cmpp>
Calculation element is invalid.Calculatie element is incorrect

What is the error message: an error that occurs when the calculation block used is wrong
Where does the error message occur: in a calculation
What action should be taken to fix the error message: check the spelling of the calculation block. Calculation blocks are case sensitive. In the above example, an error is given by the system because it says cmpp, instead of the correct cmp block

Should not happen

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
CalculationErrorShould not happenAsk support / development; should not happen
Unknown error in calculation. Error: %1%
Onbekende fout in de berekening. Fout: %1%

What is the error message: an error that occurs when something goes wrong, but the system is not sure what the exact error is
Where does the error message occur: in a calculation
What action should be taken to resolve the error message: contact support or the development team for assistance. This is because the system does not know exactly what goes wrong with this calculation

‘foldertypes’ attribute has been automatically added; needs user validation

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
CalculationWarning‘foldertypes’ attribute has been automatically added; needs user validationValidate ‘foldertypes’ attribute values are correctA ‘foldertypes’ attribute has been suggested. Are the attribute values correct?Attribuut ‘foldertypes’ is toegevoegd. Kloppen de attribuut waarden?

What is the error message: a warning that occurs when a folder type attribute is automatically added without confirmation from a user
Where does the error message occur: in a calculation
What action should be taken to fix the error message: manually validate the added folder type attributes to make sure everything goes correctly

Configured condition is invalid

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
CalculationErrorConfigured condition is invalidCorrect condition condition=’smller’>…Invalid condition %1%Ongeldige conditie %1%

What is the error message: an error that occurs when the configuration for a calculation that uses the <cmp> block is not correct
Where does the error message occur: in a calculation
What action should be taken to fix the error message: note the spelling used within the <cmp> block. The attributes must be spelled correctly and are all case sensitive. In the above example, an error is given because the condition section says ‘smller’ instead of ‘smaller’

Timeline calculations cannot be used inside conditions or other calculations

Calculatie of calculatie optieWarning of ErrorReden voor berichtFixVoorbeeldENNL
CalculationErrorTimeline calculations cannot be used inside conditions or other calculationsMove timeline calculation to its own field and use that field in this calculation<cmp condition=’not’ value=’0’>

<timelineSum>
…</timelineSum>

</cmp>
Invalid timeline value typeOngeldige tijdslijn type waarde

What is the error message: an error that occurs when a timeline block is used within a calculation or calculation condition
Where does the error message occur: in a calculation
What action should be taken to fix the error message: move the timeline calculation to its own field and use that field for other calculations

Was this article helpful?