super.build(process, processDescr, context, node);
for (DataAssociation dataAssociation: ((WorkItemNode) node).getInAssociations()) {
List<Assignment> assignments = dataAssociation.getAssignments();
if (assignments != null) {
for (Assignment assignment: assignments) {
ProcessDialect dialect = ProcessDialectRegistry.getDialect( assignment.getDialect() );
dialect.getAssignmentBuilder().build(
context, assignment,
dataAssociation.getSources().get(0),
dataAssociation.getTarget(),
((WorkItemNode) node), true);
}
}
}
for (DataAssociation dataAssociation: ((WorkItemNode) node).getOutAssociations()) {
List<Assignment> assignments = dataAssociation.getAssignments();
if (assignments != null) {
for (Assignment assignment: assignments) {
ProcessDialect dialect = ProcessDialectRegistry.getDialect( assignment.getDialect() );
dialect.getAssignmentBuilder().build(
context, assignment,
dataAssociation.getSources().get(0),
dataAssociation.getTarget(),
((WorkItemNode) node), false);
}