Hope you are doing good.I am facing a small issue for updating my collection data-set.
Below is what the collection looks like
"package_key":"1511430906266",
"references": [
{
"memberno": "08537987",
"other_state_province": "",
"city": "",
"reference_detail_desc_3": "",
"reference_detail_desc_1": "",
"name": "Colin",
"refernce_detail_desc_2": "",
"us_or_canadian_state_province": ""
}
]
Now i was trying to update it through free-marker from the process , like this
<#assign pattern>{"package_key":"1511430906266",refernces.memberno:"08537987"}</#assign>
<#assign my_field=[]>
<#assign my_field_one={}>
<#assign my_field_one= P_json_put(my_field_one, "refernces.memberno", "00011404", true)>
<#assign my_field=my_field+[my_field_one]>
${update_objects( pattern,{'$set':my_field},"col_test", "true")}
which throws me this error
Error while processing <#assign pattern>{"package_key":"1511430906266",refernces.memberno:"08537987"}</#assign>
<#assign my_field=[]>
<#assign my_field_one={}>
<#assign my_field_one= P_json_put(my_field_one, "refernces.memberno", "00011404", true)>
<#assign my_field=my_field+[my_field_one]>
${update_objects( pattern,{'set':my_field},"col_test", "true")}
No enum constant org.runmyprocess.json.JSON.JSONKeyword.MY
can you please me know what i am doing wrong and what i have to do?
--
Fujitsu - RunMyProcess
---
You received this message because you are subscribed to the Google Groups "Fujitsu RunMyProcess Developer Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to supportforum+unsubscribe@runmyprocess.com.
To post to this group, send email to suppor...@runmyprocess.com.
Visit this group at https://groups.google.com/a/runmyprocess.com/group/supportforum/.
To view this discussion on the web visit https://groups.google.com/a/runmyprocess.com/d/msgid/supportforum/28be0910-cde7-4027-9799-cc3958b3221e%40runmyprocess.com.
For more options, visit https://groups.google.com/a/runmyprocess.com/d/optout.