From 7aa02797fca1ca4c16123c2e3e59fb55d3547f6d Mon Sep 17 00:00:00 2001 From: Ralph Soika Date: Tue, 17 Jul 2018 13:42:42 +0200 Subject: [PATCH] changed createJob method #399 --- .../java/org/imixs/workflow/engine/adminp/AdminPService.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/imixs-workflow-engine/src/main/java/org/imixs/workflow/engine/adminp/AdminPService.java b/imixs-workflow-engine/src/main/java/org/imixs/workflow/engine/adminp/AdminPService.java index a1772ef2c..890e8a793 100644 --- a/imixs-workflow-engine/src/main/java/org/imixs/workflow/engine/adminp/AdminPService.java +++ b/imixs-workflow-engine/src/main/java/org/imixs/workflow/engine/adminp/AdminPService.java @@ -143,6 +143,9 @@ public class AdminPService { */ public ItemCollection createJob(ItemCollection adminp) throws AccessDeniedException { + // set default type + adminp.replaceItemValue("type", "job"); + String jobtype = adminp.getItemValueString("job"); // generate new UniqueID...