Skip to content

Commit

Permalink
Fix wrong logic to get skip expression from receive task
Browse files Browse the repository at this point in the history
  • Loading branch information
tijsrademakers committed Oct 16, 2024
1 parent a63fa81 commit 940bac5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected BaseElement convertXMLToElement(XMLStreamReader xtr, BpmnModel model)

@Override
protected void writeAdditionalAttributes(BaseElement element, BpmnModel model, XMLStreamWriter xtw) throws Exception {
ReceiveTask receiveTask = new ReceiveTask();
ReceiveTask receiveTask = (ReceiveTask) element;
writeQualifiedAttribute(ATTRIBUTE_TASK_SCRIPT_SKIP_EXPRESSION, receiveTask.getSkipExpression(), xtw);
}

Expand Down

0 comments on commit 940bac5

Please sign in to comment.