apply filter fix
This commit is contained in:
parent
c6a0a1e0b7
commit
4c57be3f45
|
@ -67,7 +67,7 @@
|
|||
"inputParameters": {
|
||||
"names" : "${extract_workspace_client_names.output.result}",
|
||||
"filter" : "${init.output.result.filter}",
|
||||
"scriptExpression": "names=Java.from($.names); f=Java.from($.filter); if(f.length === 0) output=names; else { output=[]; for(i=0;i<names.length;i++){ if(filter.indexOf(names[i]) !== -1) output.push(names[i])}} return { 'names' : Java.to(output, 'java.lang.String[]')}"
|
||||
"scriptExpression": "names=Java.from($.names); f=Java.from($.filter); if(f.length === 0) output=names; else { output=[]; for(i=0;i<names.length;i++){ if(f.indexOf(names[i]) !== -1) output.push(names[i])}} return { 'names' : Java.to(output, 'java.lang.String[]')}"
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue