}
private void fillProperties(TInstanceInfo info, ProcessInstanceDAO instance, Map<QName, String> props) {
TInstanceInfo.CorrelationProperties corrProperties = info.addNewCorrelationProperties();
for (Map.Entry<QName, String> property : props.entrySet()) {
TCorrelationProperty tproperty = corrProperties.addNewCorrelationProperty();
// not setting correlation-set id here -- too inconvenient for performance
// tproperty.setCsetid("" + cset.getCorrelationSetId());
tproperty.setPropertyName(property.getKey());
tproperty.setStringValue(property.getValue());
}
}