Hi,
I'm trying to create some agent scripts.
and I try a simple step , a text instruction step.
with this code:
Subject: {anchor._subjectid_value@OData.Community.Display.V1.FormattedValue}
{anchor.title}
{anchor.incidentid}
{$odata.incident.prioritycode.?$filter=incidentid eq '{anchor.incidentid}'&$select=prioritycode}
{$odata.incident.title.?$filter=incidentid eq '{anchor.incidentid}'&$select=title}
which results this:
Subject: Product
question about the product
b9aaee53-fb28-488d-a8a1-098bc3e97838
the first 3 slugs commands are parsed properly.
but the odata accesses return the slug tag and not the slug evaluated value.
I can see in the console log that the slug command call the CRM, retrieve the prioritycode and title fields, but at the end what is displayed to the end user:
{$odata.incident.prioritycode.?$filter=incidentid eq 'b9aaee53-fb28-488d-a8a1-098bc3e97838'&$select=prioritycode}
is it a bug?