one-time-examples/de/skill-based-routing/src/main/java/com/camunda/demo/dmntraining/taskrouting/CamundaBpmProcessApplication.java
@PostDeploy
  public void onDeploymentFinished(ProcessEngine processEngine) {
		Claim claim = new Claim();
		claim.setType("Unfall KFZ");
		claim.setExpenditure(1000);
		
		processEngine.getRuntimeService().startProcessInstanceByKey(BpmConstants.DECISION_FLOW_KEY_mitarbeiterBestimmen, //
				Variables.createVariables() //
						.putValue("claim", claim));
  }
@PostDeploy
  public void onDeploymentFinished(ProcessEngine processEngine) {
		Claim claim = new Claim();
		claim.setType("Unfall KFZ");
		claim.setExpenditure(1000);
		
		processEngine.getRuntimeService().startProcessInstanceByKey(BpmConstants.DECISION_FLOW_KEY_mitarbeiterBestimmen, //
				Variables.createVariables() //
						.putValue("claim", claim));
  }
In a @PostDeploy Hook you can interact with the process engine and access
the processes the application has deployed.