Using activiti in java

Hello, boss! I just got in touch with this, and then I watched the video and wrote the code.

ProcessEngine processEngine = ProcessEngines.getDefaultProcessEngine();

/ / deployment process definition

@Test
public void test2(){

/ / get a deployment builder object to load the process definition file (test.bpmn,test.png) and complete the deployment of the process definition

    DeploymentBuilder builder = processEngine.getRepositoryService().createDeployment();

/ / load the process definition file

    builder.addClasspathResource("test1.bpmn");
    builder.addClasspathResource("test1.png");

/ / deployment process definition

    org.activiti.engine.repository.Deployment deployment = builder.deploy();
    System.out.println(deployment.getId());
}

when running, the operation mode is as shown in the following figure.
clipboard.png

clipboard.png
which boss seems to have a look? thank you very much

Apr.24,2022

clipboard.png

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be60cc-317a6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be60cc-317a6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?