use pyeval to squeeze out service names
This commit is contained in:
parent
050990db34
commit
b6fda3975d
|
@ -65,6 +65,15 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "pyeval",
|
||||
"taskReferenceName" : "extract_client_ids",
|
||||
"type" : "SIMPLE",
|
||||
"inputParameters" : {
|
||||
"code" : "import xml.etree.ElementTree as ET;\nout=[]\nfor n in ET.fromstring(data.xmlstring).findAll('Resource/Profile/Name'):out.append(n.text);\nreturn out",
|
||||
"xmlstring" : "${retrieve_system_services.output.body}"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name" : "pyrest",
|
||||
"taskReferenceName" : "authorize",
|
||||
|
|
Loading…
Reference in New Issue