Skip to content

Commit

Permalink
Show root process in incident notification (#1594)
Browse files Browse the repository at this point in the history
* 1401 show root process in incident notification

* 1401 refactor
  • Loading branch information
markostreich committed Apr 24, 2024
1 parent c437b66 commit cc285b2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ public Incident handleIncident(final IncidentContext context, final String messa
}

try {
String processName = this.getProcessName(incidentEntity.getProcessDefinitionId());
final Map<String, String> emailContent = getEMailContent(incidentEntity, processName);
val rootProcessName = this.getProcessName(rootProcessDefinitionId);
final Map<String, String> emailContent = getEMailContent(incidentEntity, rootProcessName);
final String templatePath = "bausteine/mail/templatewithlink/mail-template.tpl";
final String emailBody = this.digiwfEmailApi.getEmailBodyFromTemplate(templatePath, emailContent);

Expand Down

0 comments on commit cc285b2

Please sign in to comment.