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 am glad it helped.
Following document will give you complete details about replacements keys,
docs.microsoft.com/.../use-replacement-parameters-configure-unified-service-desk
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!!
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
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
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?
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
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.
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.
Have you tried to refresh the data parameters after the entity has been loaded?
Daivat Vartak (v-9d...
225
Super User 2025 Season 1
Muhammad Shahzad Sh...
106
Most Valuable Professional
Eugen Podkorytov
102