Skip to content

Commit 72a310f

Browse files
committed
resulting bundle ouput parameter now as absolute reference
1 parent efc2c67 commit 72a310f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/java/dev/dsf/bpe/service/UpdateAllowList.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ public void doExecute(DelegateExecution execution, Variables variables) throws E
8585
+ ConstantsAllowList.CODESYSTEM_DSF_ALLOW_LIST_VALUE_ALLOW_LIST)));
8686

8787
Task task = variables.getStartTask();
88-
task.addOutput().setValue(new Reference(new IdType("Bundle", result.getIdPart(), result.getVersionIdPart())))
88+
task.addOutput()
89+
.setValue(new Reference(new IdType(api.getEndpointProvider().getLocalEndpointAddress(), "Bundle",
90+
result.getIdPart(), result.getVersionIdPart())))
8991
.getType().addCoding().setSystem(ConstantsAllowList.CODESYSTEM_DSF_ALLOW_LIST)
9092
.setCode(ConstantsAllowList.CODESYSTEM_DSF_ALLOW_LIST_VALUE_ALLOW_LIST);
9193
}

0 commit comments

Comments
 (0)