Hi! i just trying to make a soap call to retrieve the full list of activities (nodes) defined in a workflow — i.e., every element in the workflow diagram — using SOAP API. I tryed different calls but none of them work. example of one:
<!-- 1. Logon (omitted for brevity) -->
<!-- 2. Query workflow definition -->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:xtk:queryDef">
<soapenv:Header/>
<soapenv:Body>
<urn:ExecuteQuery>
<urn:sessiontoken>___SESSION_TOKEN___</urn:sessiontoken>
<urn:entity>
<queryDef schema="xtk:workflow" operation="select">
<select>
<node expr="@internalName"/>
<node expr="@label"/>
<node expr="@workflow"/>
</select>
<where><condition expr="@internalName = 'WKF123'"/></where>
</queryDef>
</urn:entity>
</urn:ExecuteQuery>
</soapenv:Body>
</soapenv:Envelope>
Is there a direct SOAP method (e.g., ListActivities, GetNodes) or a xtk:queryDef join that returns the flat list of activities?