Skip to content

Commit

Permalink
Fix wrong cast
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanpelikan committed Sep 10, 2024
1 parent f24a6d4 commit db5c1c7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import org.camunda.bpm.engine.impl.persistence.entity.ExecutionEntity;
import org.camunda.bpm.model.bpmn.instance.Activity;
import org.camunda.bpm.model.bpmn.instance.BaseElement;
import org.camunda.bpm.model.bpmn.instance.FlowNode;
import org.camunda.bpm.model.bpmn.instance.MultiInstanceLoopCharacteristics;
import org.camunda.bpm.model.bpmn.instance.Process;
import org.camunda.bpm.model.xml.ModelInstance;
Expand Down Expand Up @@ -85,7 +86,8 @@ public void execute(

try {

final var currentElement = (Activity) getCurrentElement(execution.getBpmnModelInstance(), execution);
final var currentElement = (FlowNode) getCurrentElement(execution.getBpmnModelInstance(), execution);

LoggingContext.setLoggingContext(
Camunda7AdapterConfiguration.ADAPTER_ID,
tenantId,
Expand Down

0 comments on commit db5c1c7

Please sign in to comment.