<fetch distinct="false" mapping="logical" output-format="xml-platform" version="1.0">
<entity name="incident">
<attribute name="incidentid"/>
<attribute name="ticketnumber"/>
<attribute name="prioritycode"/>
<attribute name="title"/>
<attribute name="customerid"/>
<attribute name="statuscode"/>
<attribute name="createdon"/>
<attribute name="caseorigincode"/>
<attribute name="subjectid"/>
<attribute name="productid"/>
<attribute name="lib_policy"/>
<attribute name="emailaddress"/>
<attribute name="primarycontactid"/>
<order descending="false" attribute="title"/>
<filter type="and">
<condition attribute="incidentid" value="[[$Context.incidentID]+]" operator="eq" />
</filter>
</entity>
</fetch>
I have a scriptlet which get the incident ID and pastes it on the $Context. I then use this value on the replacement parameter but the search returns a zero results. And when I hardcode the guid it comes back with the results.
*This post is locked for comments