I am newbie to Camunda CMMN, I am trying to get the job retry working.
Does <camunda:failedJobRetryTimeCycle>R5/PT5M</camunda:failedJobRetryTimeCycle>
works in in Camunda CMMN Or do we have some other xml attribute for it.
I have tried adding above tag in my CMMN xml , But it is retrying only 3 time(the default retry)
<code>
@Deployment(resources = {"org/camunda/bpm/engine/test/cmmn/humantask/RetryTest.cmmn"})
public void testHumanTaskFollowUpDateExtension() throws Exception {
String caseInstanceId = caseService.createCaseInstanceByKey("oneTaskCase").getId();
String humanTaskId = caseService.createCaseExecutionQuery()
.activityId("PI_HumanTask_1")
.singleResult()
.getId();
caseService.manuallyStartCaseExecution(humanTaskId);
executeAvailableJobs();
Incident incident = runtimeService.createIncidentQuery().processInstanceId(caseInstanceId).singleResult();
assertNotNull(incident);
</code>
The above code is not working. Please help me on this issue, Or suggest me the workaround
Hi,
I am trying to implement same retry behaviour as we have in BPMN.
If any of my plan item fail, I want to retry and if not successful in retry I would like to create a incident as we do in BPMN
Does camunda provide any way of retry for CMMN ?
If any of my plan item fail, I want to retry and if not successful in retry