Skip to main content

Notifications

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

  • Faran Saleem Profile Picture
    295 on at
    RE: Unified Service Desk - Data Parameter

    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

  • Suggested answer
    Mohan Prasad MAni Profile Picture
    235 on at
    RE: Unified Service Desk - Data Parameter

    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!!

  • Verified answer
    Faran Saleem Profile Picture
    295 on at
    RE: Unified Service Desk - Data Parameter

    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

  • Mohan Prasad MAni Profile Picture
    235 on at
    RE: Unified Service Desk - Data Parameter

    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

  • Faran Saleem Profile Picture
    295 on at
    RE: Unified Service Desk - Data Parameter

    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
    RE: Unified Service Desk - Data Parameter

    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
    RE: Unified Service Desk - Data Parameter

    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
    RE: Unified Service Desk - Data Parameter

    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
    RE: Unified Service Desk - Data Parameter

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

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 106 Most Valuable Professional

#3
Eugen Podkorytov Profile Picture

Eugen Podkorytov 102

Overall leaderboard

Product updates

Dynamics 365 release plans