Skip to main content

There was a workflow error running activity: Invalid character

Comments

4 comments

  • Permanently deleted user
    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
  • Permanently deleted user
    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
  • Permanently deleted user
    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.

     

    Carmen
    0
  • Permanently deleted user
    Thank you for the info Carmen...that helps :)
    0

Please sign in to leave a comment.