In Lightning Winter'17 Org, with OpenCti API 38 and Integration API 38, when I call from the developer console the


the object Task with the Id 00Txxxxxxxxxxxx WhatId is updated correctly. The callback response is success and it returns an Id, indicating the entity with that Id was correctly updated and the WhatId is correctly assigned.

When I call the


I receive the same answer with success result and Id, but the WhoId is never updated.

Both calls have been tested with and without entityApiName, with the same result: WhatId is updated, WhoId is not.

Can anybody throw some light on this issue, please? Why WhoId is not updated when calling the sforce.opencti.saveLog and receiving a right execution response?

Edited: When saveLog is called with a wrong WhoId, e.g. Account, the response is success: false.


One workaround should be to pass in the WhoId as an object, rather than a string.


This is needed for the WhoId which is a for Task or Event.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.