web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Unified Service Desk Entity Search

(0) ShareShare
ReportReport
Posted on by

Data-Parameters.JPG

<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

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans