Hi @bishwaroopdey ,
If you want to retrieve only a single record you can use fetch XML to do this for you.
Example below
<fetch mapping="logical" version="1.0" output-format="xml-platform">
<entity name="cra0d_sm_customermaster">
<attribute name="cra0d_customername" />
<attribute name="cra0d_sm_customermasterid" />
<attribute name="cra0d_contract" />
<attribute name="cra0d_financialyear" />
<attribute name="cra0d_raw_contractname" />
<attribute name="cra0d_customermasterid" />
<filter>
<condition attribute="cra0d_sm_customermasterid" operator="eq" value="d4cc6cda-edc7-eb11-bacc-00224817f106" />
</filter>
</entity>
</fetch>
You can utilise fetchXML and pass dynamic parameters in your condition i.e. guid of that record.
example below
<filter>
<condition attribute ="fullname" operator ="eq" value="{{ fieldname| xml_escape }}"/>
</filter>
Hope it helps.
------------
If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.