<fetch distinct="false" mapping="logical" output-format="xml-platform" version="1.0">
<entity name="apitil_approval_record">
<attribute name="apitil_approval_recordid"/>
<attribute name="apitil_time"/>
<attribute name="apitil_comments"/>
<attribute name="apitil_approvalauthorization"/>
<attribute name="apitil_approver"/>
<attribute name="apitil_approvalstatus"/>
<order descending="false" attribute="apitil_approvalauthorization"/>
<filter type="and">
<condition attribute="apitil_approvercustomer" operator="not-null"/>
</filter>
<link-entity name="apitil_servicerequest" alias="a_c26da75a1e81e61180f1fc15b4282658" link-type="outer" visible="false" to="apitil_servicerequest" from="apitil_servicerequestid">
<attribute name="apitil_title"/>
<attribute name="apitil_description"/>
</link-entity>
</entity>
</fetch>
Above mentioned is my fetchXML i would like to read the apitil_title and apitil_description values.
I tried the following methods but could not get the value :
{% assign app_cust = approval_action_query.results.entities %}
{% for approver in app_cust %}
{{entities.apitil_servicerequest[approver.apitil_description]}}{{entities.apitil_servicerequest[approver.apitil_description].name}} {{entities.apitil_servicerequest[approver.apitil_description].value}} {{entities.apitil_servicerequest[approver.apitil_description].id}}
{% endfor %}
*This post is locked for comments