Skip to content

Commit

Permalink
use uuid if no processname was generated or specified
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-hig committed Dec 13, 2022
1 parent d5c9b92 commit 0ee840f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ public DocumentManager(ProcessDescription processDescription, ImportSet importSe
processname = UUID.randomUUID().toString();
break;
}
// if for any reason no processname was specified until here point use a UUID
if (StringUtils.isBlank(processname)) {
processname = UUID.randomUUID().toString();
}

if (ProcessManager.countProcessTitle(processname, null) > 0) {
int tempCounter = 1;
Expand Down

0 comments on commit 0ee840f

Please sign in to comment.