DateTime now() not working for second survey

926
13
Jump to solution
10-21-2021 06:34 AM
FredMitchell
New Contributor III

I have two survey's that respond to one hosted feature service. One is a request that is submitted in the browser and the other is how inspectors respond to that request using the app. The now() on the DateTime field for the request works but it doesn't work on the inspection side in the Survey123 app. Please let me know if this is a bug or if I have something wrong with my code. Thanks!

0 Kudos
13 Replies
FredMitchell
New Contributor III

@ZacharySutherby, just in case the enhancement you mentioned doesn't fix the issue I'm having I've logged a separate one under ENH-00143976. Thanks again for all your help!

0 Kudos
Philip-Wilson
Esri Notable Contributor

Hi @FredMitchell @ABishop,

Just letting you know we have recently updated the 3.14 beta builds on the Early Adopter Community and the next release will include major improvements to the expression calculation engine, new calculation modes, improvements to loading relevant questions and repeats, and other fixes to repeats, nested repeats and repeat count. With these improvements we see faster loading surveys, increased stability, less crashes and ability to optimize calculation workflows.

The issue you reported above can now be solved using the new calculation modes available in the latest 3.14 beta builds, where you can set calculations to always run or be manual or auto.

Please refer to this blog post for more details: https://community.esri.com/t5/arcgis-survey123-blog/arcgis-survey123-3-14-beta-now-available-for/ba-...

Direct link to EAC announcement: https://earlyadopter.esri.com/project/article/item.html?cap=e69ef91f45744b98882c651f7b518eb7&arttype...

Regards,

Phil.

JeremieCote
New Contributor II

Thank you thats exactly what I was looking for! I just encountered the bug where the now() function is not working in the calculation column when loading the survey from an inbox.

By chance, is the release of 3.14 still expected for the end of the month??

Thanks again

Philip-Wilson
Esri Notable Contributor

Hi @JeremieCote,

Currently the 3.14 release is scheduled for mid to late February, however that could change based on final development tasks and testing. Keep an eye out for updates on the ArcGIS Survey123 - ArcGIS Survey123 (esri.com).

Regards,

Phil.