Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/resources/wa-task-completion-ia-asylum.dmn
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:biodi="http://bpmn.io/schema/dmn/biodi/2.0" xmlns:camunda="http://camunda.org/schema/1.0/dmn" id="wa-completion-definition" name="DRD" namespace="http://camunda.org/schema/1.0/dmn" exporter="Camunda Modeler" exporterVersion="5.31.0">
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" xmlns:biodi="http://bpmn.io/schema/dmn/biodi/2.0" xmlns:camunda="http://camunda.org/schema/1.0/dmn" id="wa-completion-definition" name="DRD" namespace="http://camunda.org/schema/1.0/dmn" exporter="Camunda Modeler" exporterVersion="5.44.0">
<decision id="wa-task-completion-ia-asylum" name="Task completion DMN" camunda:historyTimeToLive="P90D">
<decisionTable id="DecisionTable_01re27m" hitPolicy="COLLECT">
<input id="eventId" label="Event ID" biodi:width="614">
Expand Down
16 changes: 11 additions & 5 deletions src/main/resources/wa-task-initiation-ia-asylum.dmn
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:camunda="http://camunda.org/schema/1.0/dmn" xmlns:biodi="http://bpmn.io/schema/dmn/biodi/2.0" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" id="wa-initiation-definition" name="DRD" namespace="http://camunda.org/schema/1.0/dmn" exporter="Camunda Modeler" exporterVersion="5.34.0">
<definitions xmlns="https://www.omg.org/spec/DMN/20191111/MODEL/" xmlns:camunda="http://camunda.org/schema/1.0/dmn" xmlns:biodi="http://bpmn.io/schema/dmn/biodi/2.0" xmlns:dmndi="https://www.omg.org/spec/DMN/20191111/DMNDI/" xmlns:dc="http://www.omg.org/spec/DMN/20180521/DC/" id="wa-initiation-definition" name="DRD" namespace="http://camunda.org/schema/1.0/dmn" exporter="Camunda Modeler" exporterVersion="5.44.0">
<decision id="wa-task-initiation-ia-asylum" name="Task initiation DMN" camunda:historyTimeToLive="P90D">
<decisionTable id="DecisionTable_0jtevuc" hitPolicy="COLLECT" biodi:annotationsWidth="400">
<input id="Input_1" label="Event Id" biodi:width="515" camunda:inputVariable="eventId">
Expand Down Expand Up @@ -12911,7 +12911,7 @@
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_1gvwi45">
<text></text>
<text>true</text>
</inputEntry>
<inputEntry id="UnaryTests_07y7r3m">
<text></text>
Expand Down Expand Up @@ -13021,7 +13021,7 @@
<text></text>
</inputEntry>
<inputEntry id="UnaryTests_019osa1">
<text></text>
<text>true</text>
</inputEntry>
<inputEntry id="UnaryTests_1yvwkzx">
<text></text>
Expand Down Expand Up @@ -13179,7 +13179,10 @@
<text>"Review interpreter booking"</text>
</outputEntry>
<outputEntry id="LiteralExpression_1fs4m85">
<text></text>
<text>{
"delayUntil": date and time(additionalData.Data.listCaseHearingDate) - duration("P28D"),
"delayUntilIntervalDays": "0"
}</text>
</outputEntry>
<outputEntry id="LiteralExpression_1y6rwjw">
<text>"caseProgression"</text>
Expand Down Expand Up @@ -13289,7 +13292,10 @@
<text>"Detained - Review interpreter booking"</text>
</outputEntry>
<outputEntry id="LiteralExpression_09x373h">
<text></text>
<text>{
"delayUntil": date and time(additionalData.Data.listCaseHearingDate) - duration("P28D"),
"delayUntilIntervalDays": "0"
}</text>
</outputEntry>
<outputEntry id="LiteralExpression_1bfexoa">
<text>"caseProgression"</text>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static void initialization() {
CURRENT_DMN_DECISION_TABLE = WA_TASK_INITIATION_IA_ASYLUM;
}

private static String hearingDate = LocalDateTime.now().plusDays(5).format(DateTimeFormatter.ISO_LOCAL_DATE_TIME);
private static final String hearingDate = LocalDateTime.now().plusDays(5).format(DateTimeFormatter.ISO_LOCAL_DATE_TIME);

static Stream<Arguments> scenarioProvider() {
LocalDateTime directionDueDate = LocalDateTime.now().plusDays(5);
Expand Down
Loading