model.getConnections().add( tc );
}
private static TransferNode createHumanTaskTransferNode(HumanTaskNode node) {
HumanTaskTransferNode httn = new HumanTaskTransferNode();
Work work = node.getWork();
if ( work != null ) {
for ( String key : work.getParameters().keySet() ) {
Object o = work.getParameters().get( key );
String value;
if ( o == null ) {
value = "";
} else {
value = o.toString();
}
httn.getParameters().put( key,
value );
}
}
return httn;