Skip to content

Commit

Permalink
add javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Kathrin-Huber committed Jun 16, 2020
1 parent 2ee59be commit 3790c4c
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1032,6 +1032,12 @@ public static void processTempProcess(TempProcess tempProcess, Template template
updateTasks(process);
}

/**
* Checks if an imported Process should be created with Tasks and removes them if not,
* depending on the configuration of the doctype.
* @param process the process to check.
* @param docType the doctype to check in the ruleset.
*/
public static void checkTasks(Process process, String docType) throws IOException, RulesetNotFoundException {
// remove tasks from process, if doctype is configured not to use a workflow
Collection<String> divisionsWithNoWorkflow = ServiceManager.getRulesetService()
Expand Down

0 comments on commit 3790c4c

Please sign in to comment.