Created
January 1, 2020 21:20
-
-
Save mauriziocarioli/34ddb1be9658d14fa81bddcf9b228a3a to your computer and use it in GitHub Desktop.
PHM Processes Service Task On Exit Action
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final ObjectMapper om = new ObjectMapper(); | |
ArrayList<Response> dd = new ArrayList<Response>(); | |
List rr = (List)kcontext.getVariable("pResult"); | |
Iterator<LinkedHashMap> i = rr.iterator(); | |
while(i.hasNext()) { | |
LinkedHashMap m = (LinkedHashMap)i.next(); | |
dd.add(om.convertValue(m,Response.class)); | |
} | |
kcontext.setVariable("pDataList",dd); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment