AnsweredAssumed Answered

deploy the zip and processDefiniti.DiagramResourceName=null

Question asked by weiyi2011 on Feb 24, 2011
Latest reply on Feb 24, 2011 by weiyi2011
Hi, everybody!


repositoryService.createDeployment()
    .name("deployname_leave2")// act_re_deployment.NAME
    .addZipInputStream(zipInputStream)// zipInputStream is not null, zip[leave2.activiti.bpmn20.xml, leave2.activiti.processimage.jpg]
    .deploy();

LOG:
inserting: ProcessDefinitionEntity[leave2:4]  [org.activiti.engine.impl.db.DbSqlSession]
08:13:42,191 FIN  | ==>  Executing: insert into ACT_RE_PROCDEF(ID_, CATEGORY_, NAME_, KEY_, VERSION_, DEPLOYMENT_ID_, RESOURCE_NAME_, DGRM_RESOURCE_NAME_, HAS_START_FORM_KEY_) values (?, ?, ?, ?, ?, ?, ?, ?, ?)   [java.sql.PreparedStatement]
08:13:42,191 FIN  | ==> Parameters: leave2:4(String), http://www.activiti.org/test(String), leave2(String), leave2(String), 4(Integer), 801(String), leave2.activiti.bpmn20.xml(String), null, false(Boolean)  [java.sql.PreparedStatement]

Why the DGRM_RESOURCE_NAME_ is null?
How can I save the DiagramResourceName to the ACT_RE_PROCDEF.DGRM_RESOURCE_NAME_.

Thanks.

Outcomes