We often use a!update() function to update dictionary values however, it fails when a dictionary has 2 attributes with different font cases (e.g. label & LABEL)
In 21.4 I tried using the a!update() function as below:
Input:
{ label:"", LABEL:"asdf", label3:"", label4:"asdf"}
Rule: a!update(ri!dict,"LABEL",123)
Output:
{label: 123, LABEL: "asdf", label3: "", label4: "asdf"}
Discussion posts and replies are publicly visible
Based on the documentation, this is a limitation of a!update() function.
https://docs.appian.com/suite/help/21.4/fnc_array_a_update.html
You can use updateDictionary() function from the "Dictionary Manipulation" plugin which gives the desired result.
https://community.appian.com/b/appmarket/posts/cdt-manipulation
updatedictionary( dictionary: ri!dict, fieldsAndValues: { "LABEL": 123 } )