Skip to content

Commit

Permalink
L'email de rappel part à la réception de la requête asit-asso#327
Browse files Browse the repository at this point in the history
  • Loading branch information
arxit-ygr committed Sep 13, 2024
1 parent 16fe597 commit 1357613
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ private Task getNextTask() {
* @return an array containing the addresses of the operators
*/
@Transactional(readOnly = true)
String[] getProcessOperatorsAddresses(final Process process) {
public String[] getProcessOperatorsAddresses(final Process process) {
assert process != null : "The process cannot be null.";

return this.applicationRepositories.getProcessesRepository().getProcessOperatorsAddresses(process.getId());
Expand Down Expand Up @@ -636,7 +636,10 @@ private void updateRequestWithResult(final RequestHistoryRecord.Status taskResul
this.updateRequestFromPlugin(modifiedRequestData);
}
}
case STANDBY -> this.request.setStatus(Request.Status.STANDBY);
case STANDBY -> {
this.request.setStatus(Request.Status.STANDBY);
this.request.setLastReminder(GregorianCalendar.getInstance());
}

default -> this.logger.error("The result status ({}) for task \"{}\" is invalid.", taskResultStatus,
this.taskHistoryRecord.getTaskLabel());
Expand Down

0 comments on commit 1357613

Please sign in to comment.