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 :
Customer experience | Sales, Customer Insights,...
Answered

Unified Service Desk - Data Parameter

(0) ShareShare
ReportReport
Posted on by 235

Hi

I have noted that there are some data parameters that are not getting updated in Data parameters tab ($Context, $Entity etc) in debugger because of which my condition is failing every time. The fields are new custom fields that I created? I was thinking all the fields would be copied to data parameter. These two new fields not only appear in $context but also does not appear in $customentity. The entity is ofcourse open in the session and I can see the entity $entity in data parameter with other fields but not these two new fields

What I have also noted is that when these fields are updated atleast once then they appear in data parameters? Any Ideas or help here please

Thanks

Mohan

I have the same question (0)
  • Faran Saleem Profile Picture
    295 on at

    Have you tried to refresh the data parameters after the entity has been loaded?

  • Mohan Prasad MAni Profile Picture
    235 on at

    Yes, Many times but the fields do not appear on the data parameters.

    Also, I noticed that for records where the value is present in these new fields they become visible. For existing data where there are no values for these fields the fields dont appear in data parameters.

    Looks like after adding the new fields, if the data has not been modified or updated in the new fields they dont appear in Data parameters.

  • Faran Saleem Profile Picture
    295 on at

    Okay if there are no values in your custom fields than they will not appear until you put values on those field. In data parameters only fields that has some values associated to them appears.

  • Mohan Prasad MAni Profile Picture
    235 on at

    The fields are Checkbox and hence if they are blank that means they are Set to false and we trigger actions when it is set to false. This condition fails. How do we handle this issues then? Thanks very much for response

  • Faran Saleem Profile Picture
    295 on at

    So you mean to say only when the field is checked that is when the data parameter value appears as true. In case of false it never appears?

  • Mohan Prasad MAni Profile Picture
    235 on at

    Yes, so only when there is a True to the value, we open the record and mark it as yes. By default we have set it to be no. So that means we dont have to modify any values assuming it will be no all the time. Records like this never get picked up in data parametes as I assume the system things they are blank values but they are not blanks but they are Checkbox=false

  • Verified answer
    Faran Saleem Profile Picture
    295 on at

    Well in that case what you can do is check for the data parameter key if it exists or not.

    For that you need to put a + sign in between the closing tags of replacement parameter like this,

    [[$Context.MyCheckBoxValue]+]

    if it returns null which means that this key does not exist than it means it is returning false and if it returns true then it means checkbox is selected.

    Hope it helps

  • Suggested answer
    Mohan Prasad MAni Profile Picture
    235 on at

    Thanks Faran, that did the trick. I just added an or condition to check if it is either false or null and it works for both the case

    "[[$Context.MyCheckBoxValue]+]" || "[[$Context.MyCheckBoxValue]+]"=="false"

    So that plus sign is for checking if the value is present in data parameter or not...  Any references where I can understand all the values in between the two Square bracets? There are "g"s and "+" in that too for some of them!!

  • Faran Saleem Profile Picture
    295 on at

    I am glad it helped.

    Following document will give you complete details about replacements keys,

    docs.microsoft.com/.../use-replacement-parameters-configure-unified-service-desk

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

#2
ManoVerse Profile Picture

ManoVerse 60 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 43

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans