Looking for help trying to do a simple regex search and replace on a document

The worker can reach into Camunda cluster, and ask “Is there any work of type ?”
It will then claim the work, and call the processing function, and respond back when the work is completed.
Writing workers (not necessarily microservices) would be a good habit to get into.