Select to view content in your preferred language

Automate Work Order Numbers

06-18-2024 05:21 AM
New Contributor III

I'm trying to auto generate work order numbers. The work order id should be the current year dash submission number padded with zeros. So the submissions should look like 2024-0001. The closest I got was concat(format-date(now(), '%Y'),'-',count(${location})), which doesn't actually count survey submissions.

0 Kudos
1 Reply
MVP Regular Contributor

There is a blog post that covers this: Creating 'Ticket Numbers' in Survey123 for ArcGIS

you probably are looking for ObjectID, which you don't get until after you submit. Have a look at the blog.

0 Kudos