Skip to content

Commit

Permalink
removed check for the existence of scheduled workflow definition.
Browse files Browse the repository at this point in the history
  • Loading branch information
jas34 committed Jul 12, 2021
1 parent 4de032a commit d1ad68d
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ protected MySQLScheduledWfMetaDataDao(ObjectMapper om, DataSource dataSource) {
public void saveScheduleWorkflow(ScheduleWfDef def) {
validate(def);
withTransaction(tx -> {
if (scheduleWorkflowDefExists(tx, def)) {
throw new ApplicationException(ApplicationException.Code.CONFLICT,
"ScheduleWfDef with " + def.toString() + " already exists!");
}

insertOrUpdatescheduleWorkflowDef(tx, def);
});

Expand Down

0 comments on commit d1ad68d

Please sign in to comment.