Process Id starting with number like "'1test'" throws exception

I have noticed that whenever the process id is starting with number then camunda engine doesn’t accept it and started throwing ModelParseException.

Below is the log message
level=:ERROR,threadName=:http-nio-8080-exec-6,sourceService=:c.e.g.t.l.a.ExceptionLoggingAspect,sourceMethod=:logAfterThrowing,lineNumber=:42,message=:Correlation Id: e74498c3-2a31-47cf-8ff2-7ee48ee5599c, Exception: com.gs.workflow.camunda.service.controller.WorkflowDefDeploymentController.deploy() with cause = ‘org.xml.sax.SAXException: Error: URI=null Line=10: cvc-datatype-valid.1.2.1: ‘1test’ is not a valid value for ‘NCName’.’, App Version: 0.0.6-SNAPSHOT, org.camunda.bpm.model.xml.ModelParseException: SAXException while parsing input stream
at org.camunda.bpm.model.xml.impl.util.DomUtil.parseInputStream(DomUtil.java:241)
at org.camunda.bpm.model.xml.impl.parser.AbstractModelParser.parseModelFromStream(AbstractModelParser.java:94)
at org.camunda.bpm.model.bpmn.impl.BpmnParser.parseModelFromStream(BpmnParser.java:61)
at org.camunda.bpm.model.bpmn.Bpmn.doReadModelFromInputStream(Bpmn.java:245)
at org.camunda.bpm.model.bpmn.Bpmn.readModelFromStream(Bpmn.java:127)

Hi @prakhar211,

Please check the following post:

Best regards,
Yana