In a workflow that contains existing query and filters, how do I use SOAP to update said filters? I've tried different things but I can't update a filter. Any help/instructions would be much appreciated.
My XML looks like this so far:
<?xml version='1.0' encoding='ISO-8859-1'?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:xtk:session">
<soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"></soap:Header>
<soapenv:Body xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<urn:WriteCollection>
<urn:sessiontoken>{{sessiontoken}}</urn:sessiontoken>
<urn:domDoc>
<recipient-collection xtkschema="nms:recipient">
<recipient-collection>
</workflow-collection>
</urn:domDoc>
</urn:WriteCollection>
</soapenv:Body>
</soapenv:Envelope>
This is the block in the workflow I'd like to update:
<query collision="0" distinct="true" img="nms:activities/query.png" keepAllExtraData="false"
label="unique Key starts with 'some_value' and email of recipient contains 'perry' and cell Code equal to 'D01O'"
mask="0" name="query" noAutoPk="false" noAutoPkFilter="false" onError="0"
recipientLink="" runOnSimulation="true" schema="bell:campaignHistory"
timezone="_inherit_" useSource="0" x="304" y="168">
<transitions>
<result enabled="true" label="Result" name="result" target="enrich"/>
</transitions>
<select>
<node analyze="false" expr="@campaignCode" label="Campaign Code"/>
...(bunch of nodes)
<node analyze="false" expr="@uniqueKey" label="Unique Key"/>
</select>
<where displayFilter="somedisplayfilter"
filterName="somefiltername" id="3918004415">
<condition boolOperator="AND" compositeKey="" dependkey="" enabledIf=""
expr="@uniqueKey LIKE 'some_value' + '%'" internalId="2538144714"/>
<condition boolOperator="AND" compositeKey="" dependkey="" enabledIf=""
expr="[recipient/@email] LIKE '%' + 'perry' + '%'" internalId="2538144715"/>
<condition compositeKey="" dependkey="" enabledIf="" expr="@cellCode = 'D01O'"
internalId="2538144716"/>
</where>
<humanCond>Query: unique Key starts with 'some_value' and email of recipient contains 'perry' and cell Code equal to 'D01O'</humanCond>
</query>