How to automatically generate a document number?

Hi all.
Can you tell me how to implement automatic numbering of requests?
To generate a number in ascending order when creating a new request.
Approximately like this:
Screenshot (1)

in your ‘create a new thing’ WF, when you are creating the ‘request number’ (make sure this is a number field in your datatype) set it to be ‘do a search for’ with appropriate constraints, then add :last item + 1

I’m assuming you mean sequential order, as in the first request is numbered 1, the second request is numbered 2 etc


Thank you for your help