diff --git a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/usertasks/CustomUserTaskLifeCycle.java b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/usertasks/CustomUserTaskLifeCycle.java index 5e1a94f22b..8ae752f2c5 100644 --- a/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/usertasks/CustomUserTaskLifeCycle.java +++ b/kogito-quarkus-examples/process-usertasks-custom-lifecycle-quarkus/src/main/java/org/acme/travels/usertasks/CustomUserTaskLifeCycle.java @@ -171,7 +171,7 @@ public Optional skip(UserTaskInstance userTaskInstance, private String assignStrategy(UserTaskInstance userTaskInstance, IdentityProvider identityProvider) { UserTaskAssignmentStrategy assignmentStrategy = userTaskInstance.getUserTask().getAssignmentStrategy(); - return assignmentStrategy.computeAssigment(userTaskInstance, identityProvider).orElse(null); + return assignmentStrategy.computeAssignment(userTaskInstance, identityProvider).orElse(null); } private void checkPermission(UserTaskInstance userTaskInstance, IdentityProvider identityProvider) { diff --git a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/usertasks/CustomUserTaskLifeCycle.java b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/usertasks/CustomUserTaskLifeCycle.java index 581c7d6eec..5eb205b063 100644 --- a/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/usertasks/CustomUserTaskLifeCycle.java +++ b/kogito-springboot-examples/process-usertasks-custom-lifecycle-springboot/src/main/java/org/acme/travels/usertasks/CustomUserTaskLifeCycle.java @@ -170,7 +170,7 @@ public Optional skip(UserTaskInstance userTaskInstance, private String assignStrategy(UserTaskInstance userTaskInstance, IdentityProvider identityProvider) { UserTaskAssignmentStrategy assignmentStrategy = userTaskInstance.getUserTask().getAssignmentStrategy(); - return assignmentStrategy.computeAssigment(userTaskInstance, identityProvider).orElse(null); + return assignmentStrategy.computeAssignment(userTaskInstance, identityProvider).orElse(null); } private void checkPermission(UserTaskInstance userTaskInstance, IdentityProvider identityProvider) {