AnsweredAssumed Answered

how to set a geolocation field in Nintex Workflow

Question asked by sharepointfrancois on May 7, 2015
Latest reply on Apr 27, 2018 by chaddavis

Using the simple Set Field in Current Item action, I tried several format but so far it errors when trying to set.

Field to set:  MyGeoLocation

Value: Point (-0.226313394707461 51.4956119173686)

(as you can see hard coded just to test and then replace by variables)

 

Error message display when workflow runs is:

 

Retrying last request. Next attempt scheduled in less than one minute. Details of last request: HTTP BadRequest to

https://......onmicrosoft.com/sites/thissite/_api/web/lists(guid'10d943d2-b96c-4058-b622-c5d81fedb791')/Items(192)

 

An unexpected 'PrimitiveValue' node was found when reading from the JSON reader. A 'StartObject' node was expected.

 

I am guessing it's the format sent as "Point (-0.226313394707461 51.4956119173686)" that the field is expecting something else, like in CSOM oGeolocationValue.Latitude =

but how to do likewise in Nintex workflow SetField ?

 

Any suggestion is welcomed.

 

Outcomes