There was a workflow error running activity: Invalid character
Hi,
I am trying to create a simple form with Listbox, create dataitems to populate the listbox. It is working fine when I am running in simulator but whrn i am running in HTML5 Viewer i am getting below error
"There was a workflow error running activity: Invalid character"
Please help
Versions in use: HTML5 2.6.1
0
-
Update: When I ran the same in Chrome I got below error,
"There was a workflow error running activity: Unexpected token N in JSON at position 804"0 -
Update: I was trying to save a new Envelope object as value for DataItem which is why I am getting the error. when I changed it to string I am able to run in browser.
Can anyone tell what are the types we can safely assign as value of a DataItem?0 -
Hi Srikanth,
When creating a dataitem list and feeding that into the display form, if you reference anything other than strings, numbers or objects in the dataitem, then you will likely get a JSON error. I would recommend using the OBJECTID field as the value so that you can easily query for it again in a Query Task activity.
I hope this helps.
Carmen0 -
Thank you for the info Carmen...that helps :) 0
Please sign in to leave a comment.
Comments
4 comments