Here is the method that uses updateQuery.
//
// Here is the response I am getting
//
//
Here is the full response I get from the Uri: https://*.bpmonline.com/0/DataService/json/SyncReply/UpdateQuery
Like
Hello Jordan,
Most likely, in your request you are trying to operate with fields that are not presented in object that is modifying.
I recommend such way to understand what is going on: Modify the object from bpm'online and catch the update request to the "dataservice" (via fiddler or on network tab in devtools). Caught request will be your example and you should compare 2 request: one that you caught and one that is not valid.
Also, you can find additional information in the article:
https://academy.bpmonline.com/documents/technic-sdk/7-13/dataservice-up…
Best regards,
Alex
Try switching the line on 419 from setColumnValue to setParameterValue. I believe setColumnValue takes different argument types.
Ryan
Ryan Farley,
Thank you Ryan, it appears that was the issue! Is setColumnValue for setting the columns alias?
Jordan Kincer,
Glad that was it.
Yes, setColumnValue takes two arguments, one for the column alias and one column expression object which defines an expression for the column. The setParameterValue is for setting the value of a column.
https://academy.bpmonline.com/api/jscoreapi/7.12.0/index.html#!/api/Ter…
Ryan