laptop and a wrench

Bogue

Evaluating decimal-date-time in ArcGIS Survey123 Connect fails due to a type mismatch when evaluating input is a result of concatenate and if calculation.

ArcGIS Survey123
Numéro d’ID de bogue BUG-000179257
EnvoiSeptember 4, 2025
Dernière modificationOctober 2, 2025
S’applique àArcGIS Survey123
Version trouvée3.23
Système d’exploitationWindows OS
Version du système d’exploitation11.0 64 bit
StatutAs Designed

Informations supplémentaires

The calculations will not be validated in ArcGIS Survey123 Connect if the output of the calculation is considered invalid when used in another formula at the time that the form is being saved. This can happen when the default value used in the conditional statement is not a valid input for other calculations in the form. For example, the output of the first question in the sample provided in this bug is '-01-01T00:00:00+02:00' when there is no selection made which is not valid to use in "decimal-date-time()" formula and does not create a valid output. To resolve the issue, the values in the conditional statement must be modified or alternatively a default value must be provided in a way that it produces an output that can be passed to the subsequent formulas as a valid input at all times, even when the form is initially loaded.

Solution de contournement

Add default value to code or amend the age calculation to not include decimal-date-time for birth_date value ie int((decimal-date-time(today()) - '${birth_date})) div 365.25).

Étapes pour reproduire

ID de bogue: BUG-000179257

Logiciel:

  • ArcGIS Survey123

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement