Revision 52665
Added by Michele Artini almost 6 years ago
modules/dnet-msro-service/trunk/src/main/java/eu/dnetlib/msro/notification/EmailDispatcher.java | ||
---|---|---|
105 | 105 |
.getService(ISLookUpService.class) |
106 | 106 |
.quickSearchProfile("for $x in collection('/db/DRIVER/WorkflowDSResources/WorkflowDSResourceType') " + |
107 | 107 |
"where $x//RESOURCE_IDENTIFIER/@value='" + proc.getProfileId() + "' " + |
108 |
"or $x//RESOURCE_IDENTIFIER/@value='" + proc.getParentProfileId() + "' " +"
|
|
108 |
"or $x//RESOURCE_IDENTIFIER/@value='" + proc.getParentProfileId() + "' " + |
|
109 | 109 |
"return $x//NOTIFICATIONS/EMAIL/concat(@condition , ' @@@ ', @messageProfileId, ' @@@ ', @address)") |
110 | 110 |
.forEach(s -> { |
111 | 111 |
final String[] arr = s.split("@@@"); |
Also available in: Unified diff
fixes a xquery